Linux - ServerThis forum is for the discussion of Linux Software used in a server related context.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
I need to setup a centralised Linux server which will contain all the data of network users. All network users will be running Linux desktops.
The requirement is that all users should log on to central server and save or retrieve all data from the centralised server. The users should not be in a position to store any data locally.
One of the requirements is that ANY user existing on the central server may be able to login from anywhere in the network irrespective of the client PC being used. Also some users from one group may be allowed access to some files in the other group. The users from any same group may see/edit each other's data fully.
If the /home directory contains all of the users' home directories, and is an NFS share that every host mounts, you simply need to mount the server's home directory during boot up, and use the same regular users list in each /etc/passwd & /etc/shadow file. Then when a user logs in, they will be using their home directory which exists on the server. As long as each username gets the same UID & password hash when they log in, it will work the same as if the home directory were located at the machine.
You can also use LDAP or NIS or even Samba for maintaining username/uid/password hashes centrally or you can replicate changes to each host's /etc/passwd & /etc/shadow file. Some distro's have wizards that will configure the hosts properly (e.g. PAM, /etc/nsswitch, etc.) for different authentication methods.
Centralizing the users' home directories is a very easy thing to do. Maintaining credentials for the users, is the harder part. The best way to do it may depend on how many users you are dealing with.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.