LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
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 10-14-2008, 12:24 AM   #1
a_to_z123
LQ Newbie
 
Registered: Oct 2008
Location: India
Distribution: Fedora 9
Posts: 3

Rep: Reputation: 0
Question Set up a central Authentication Server


Hello Guys,

This is my first query at this forum.

I've started with UNIX recently and want to set up a central authentication server.

Details:-
* A server such that other users can can connect from their terminals for login authentication.
* They shud be able to store their files on their respective Home directories also.
* The client machines can be running their own distros or can be connected thru TELNET
* What are all the settings that I'd need to do.

Plz guide me in this respect...

Me and my friends need to set up this network as a practical.

Thanks in advance.
 
Old 10-14-2008, 07:31 AM   #2
dbmacartney
Member
 
Registered: Mar 2007
Location: London, UK
Distribution: Debian, Red Hat Enterprise, Fedora
Posts: 70

Rep: Reputation: 15
a quick and easy way to do this would be to set up NIS for your authentication and use NFS to mount your home drives. that way your home drive data will be the same every time you login no matter what computer you log into.
 
Old 10-15-2008, 07:26 AM   #3
a_to_z123
LQ Newbie
 
Registered: Oct 2008
Location: India
Distribution: Fedora 9
Posts: 3

Original Poster
Rep: Reputation: 0
Thx, I'll try to do that and let you know... I did think of doing that u know!

Meanwhile any more tips or tricks that I can use...
 
Old 10-17-2008, 02:44 AM   #4
dbmacartney
Member
 
Registered: Mar 2007
Location: London, UK
Distribution: Debian, Red Hat Enterprise, Fedora
Posts: 70

Rep: Reputation: 15
Your most welcome. I did this on a VM as the Central NIS box with Debian and set up 2 workstations to prove my previous (VERY windows only) boss that roaming profiles aren't as fantastic just because MS say it is. To be honest I find it far simpler to set up roaming home drives in NIS with NFS than what AD roaming profiles are. All up it only took about 10 minutes to set up, once i had the base OS's installed of course.


One thing I would suggest, is on your server, when you create your accounts, specify a different home location e.g. /rhome/

Once you have set up your users, check to confirm where their home drives are.
#cat /etc/passwd | grep user
user1:x:1000:1000::/rhome/user1:/bin/sh
user2:x:1001:1001::/rhome/user2:/bin/sh
user3:x:1002:1002::/rhome/user3:/bin/sh

You will need to create your /rhome/ folder before you create your 3 users in this example.

then set up an NFS export for /rhome/

/rhome *.mynetwork.com(rw,no_root_squash)

Add that line to /etc/exports after installing NFS. This will allow all your computers on the network mynetwork.com read/write access.

when you have added that line and reloaded your NFS config (or restarted the NFS server) you can fun "exportfs" to see your active exports.

All you need to do then on your workstations is set up NIS authentication to your NIS server. Check your distro documentation for that. Then you need to add your NFS mount to be automatically mounted on machine bootup.

create a local folder of /rhome in order to mount your NFS share to and then add the below to your /etc/fstab file

nfsserver:/rhome /rhome nfs defaults 0 0



Profided you have set up your NFS export and your NIS authentication correctly, you should be able to log onto one of your PCs, lets say change the background to make an obvious change, (note that profile changes are immediate and you wont need to log off) and then try logging onto your other PC and see if your new wallpaper appears.
 
Old 10-17-2008, 02:58 AM   #5
billymayday
Guru
 
Registered: Mar 2006
Location: Sydney, Australia
Distribution: Fedora, CentOS, OpenSuse, Slack, Gentoo, Debian, Arch, PCBSD
Posts: 6,678

Rep: Reputation: 122Reputation: 122
See

http://www.linuxhomenetworking.com/w...ccess_with_NFS
and
http://www.linuxhomenetworking.com/w...DAP_and_RADIUS
from
http://www.linuxhomenetworking.com/
 
Old 10-20-2008, 04:11 AM   #6
a_to_z123
LQ Newbie
 
Registered: Oct 2008
Location: India
Distribution: Fedora 9
Posts: 3

Original Poster
Rep: Reputation: 0
Wow mate!!!

That was wonderful... Now I got it all... Thanks a lot dbmacartney

And you too billy your links were enlightening too!
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
Central authentication veeruk101 Linux - General 2 07-20-2007 07:51 AM
Setting up Central Authentication System logosys Linux - Networking 1 03-03-2006 06:48 AM
Central Authentication for SAMBA Matir Linux - Software 2 01-28-2005 04:16 PM
user authentication from central computer uros678 Linux - General 5 02-19-2004 12:48 AM
domain style central user authentication MadTurki Linux - Networking 2 01-26-2004 10:26 AM


All times are GMT -5. The time now is 05:12 PM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration