View previous topic :: View next topic |
Author |
Message |
CloudBolt Apprentice


Joined: 04 Feb 2006 Posts: 192 Location: The Netherlands
|
Posted: Tue Aug 21, 2007 2:23 pm Post subject: sharing home directories and user accounts. |
|
|
A friend of mine and myself have got a server at school, running gentoo linux, and 4 identical clients running gentoo as well. I'd like centralised user accounts, so that anyone, provided they have an account, can login on any of the clients. the /home directories have to be stored on the server, with a per-user storage limit of about 20 MB (probably only text files need to be stored, and other files can be stored on USB drives). Also, we need the 4 clients to be not only identical in terms of hardware, but software as well, meaning if we emerge one package it will be copied to the other clients so that we won't need to emerge it again. We thought about just emerging with -buildpkg, sharing /usr/portage/distfiles on the server and writing a startup script that would emerge everything we just emerged on the other clients.
Can anyone give us advice or a guide on setting up user account sharing, directory sharing and keeping the packages synced? Thanks in advance. _________________ GNU/Linux is an operating system.
IBM OS/2 is half an operating system.
Windows is a shell.
DOS is a boot partition virus. |
|
Back to top |
|
 |
Rob1n l33t

Joined: 29 Nov 2003 Posts: 714 Location: Cambridge, UK
|
Posted: Tue Aug 21, 2007 2:48 pm Post subject: |
|
|
The usual solution here is NFS and NIS (though LDAP is also an option here) - unfortunately there doesn't seem to be any official gentoo documentation on either of these though. However, the wiki gives us:
You may also want to think about running the clients as diskless systems (or mostly diskless anyway, keep temporary files local but centralise everything else) which will simplify maintenance. |
|
Back to top |
|
 |
Napalm Llama Guru


Joined: 04 Jun 2005 Posts: 533 Location: Cardiff, UK
|
Posted: Tue Aug 21, 2007 3:07 pm Post subject: |
|
|
Diskless systems do sound like the way to go in this case. I would advise netbooting - have a the clients' root directory on the server, exported via NFS, and have the clients mount that when they boot. That way you can be sure that every client is identical. The kernel is retrieved by the BIOS via TFTP. There are various tutorials for how to do this.
I think you'll still need the central user management system though - although I'm not sure about that, I've never really experimented with that kind of thing... _________________ Ryzen 5600x; Asus TUF Gaming B550-Plus; Geforce 1660 Super
Registered Linux User #381314
# killall humans |
|
Back to top |
|
 |
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|