Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
sharing home directories and user accounts.
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
CloudBolt
Apprentice
Apprentice


Joined: 04 Feb 2006
Posts: 192
Location: The Netherlands

PostPosted: Tue Aug 21, 2007 2:23 pm    Post subject: sharing home directories and user accounts. Reply with quote

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
View user's profile Send private message
Rob1n
l33t
l33t


Joined: 29 Nov 2003
Posts: 714
Location: Cambridge, UK

PostPosted: Tue Aug 21, 2007 2:48 pm    Post subject: Reply with quote

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
View user's profile Send private message
Napalm Llama
Guru
Guru


Joined: 04 Jun 2005
Posts: 533
Location: Cardiff, UK

PostPosted: Tue Aug 21, 2007 3:07 pm    Post subject: Reply with quote

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
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security All times are GMT
Page 1 of 1

 
Jump to:  
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