Take the 2-minute tour ×  I need to set up a network of twenty
Ubuntu machines and a server. As it is now, the users have local
accounts on the machines, but I want to have centralized user
authentication, with all user info stored on the server, and
with server-side home directories. So when a user logs in on any
of the client computers, his username and password should be
checked on the server, and then his home directory should be
mounted from the server via NFS or something.  How do I do this?
Which is the best way?  share|improve this question  4 Answers 4
up vote 8 down vote accepted  I've run something like this in
the past. LDAP is your best bet for centralized accounts. This
is reasonably standard, and should be easy to set up. The client
is merely a matter of installing a few packages (ldap-utils,
libnss-ldap, and libpam-ldap), and editing
/etc/pam.d/common-(everything). You'll need to add a line like
<type of file goes here>    sufficient   pam_ldap.so  As well as
this, you'll have to edit /etc/n