LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 05-19-2009, 03:39 AM   #1
rajesh.bahl
Member
 
Registered: Jan 2007
Posts: 101

Rep: Reputation: 15
How to make users use Centralised data storage


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.


Can some one guide how to create such a setup ?




Thanking In Advance
rajesh.bahl
 
Old 05-19-2009, 03:58 AM   #2
billymayday
LQ Guru
 
Registered: Mar 2006
Location: Sydney, Australia
Distribution: Fedora, CentOS, OpenSuse, Slack, Gentoo, Debian, Arch, PCBSD
Posts: 6,678

Rep: Reputation: 122Reputation: 122
See if this helps http://www.linuxhomenetworking.com/w...FS_Automounter
 
Old 05-31-2009, 04:15 AM   #3
rajesh.bahl
Member
 
Registered: Jan 2007
Posts: 101

Original Poster
Rep: Reputation: 15
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.



rajesh.bahl
 
Old 05-31-2009, 05:14 PM   #4
billymayday
LQ Guru
 
Registered: Mar 2006
Location: Sydney, Australia
Distribution: Fedora, CentOS, OpenSuse, Slack, Gentoo, Debian, Arch, PCBSD
Posts: 6,678

Rep: Reputation: 122Reputation: 122
Look at the centralized logins sections at the same site I pointed you to before - that will allow that one.

Have a good read up on unix permissions, and you should be able to devise a scheme to accommodate you sharing without too much fuss.
 
Old 06-01-2009, 01:41 AM   #5
deepak_message
Member
 
Registered: Oct 2007
Posts: 175

Rep: Reputation: 17
Hi,

There are so many things in linux. you can configure samba,nfs,ftp, or CVS. these are basically for the sharing and accessing data from server.
 
Old 06-01-2009, 02:02 AM   #6
billymayday
LQ Guru
 
Registered: Mar 2006
Location: Sydney, Australia
Distribution: Fedora, CentOS, OpenSuse, Slack, Gentoo, Debian, Arch, PCBSD
Posts: 6,678

Rep: Reputation: 122Reputation: 122
Just to avoid confusing the OP, for this application NFS is probably the way to go.
 
Old 06-01-2009, 02:23 AM   #7
jschiwal
LQ Guru
 
Registered: Aug 2001
Location: Fargo, ND
Distribution: SuSE AMD64
Posts: 15,733

Rep: Reputation: 682Reputation: 682Reputation: 682Reputation: 682Reputation: 682Reputation: 682
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.

Last edited by jschiwal; 06-01-2009 at 02:26 AM.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Setting up Linux network with centralised server (storing users $HOME) etc musther Linux - Networking 2 06-26-2008 05:05 PM
Looking for a Data storage solution ufmale Linux - Server 3 06-15-2008 08:18 PM
Data Storage Question nodger Programming 5 09-01-2005 05:42 PM
data storage in applications dave bean Programming 3 01-18-2005 05:39 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 03:46 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration