Networking Forums

Networking Forums > Computer Networking > Linux Networking > NIS Users and Local Users

Reply
Thread Tools Display Modes

NIS Users and Local Users

 
 
Dusty
Guest
Posts: n/a

 
      11-20-2003, 03:46 AM
Quick basic question on NIS... I would like to setup NIS for centralized
password (shadow) authentication, along with autofs for nfs mounted home
directories in /home. My question is, if I also had those same users setup
locally with /home directories and various local group memberships... how
would that effect NIS? Would the autmounter then mount the NFS /home/user
"over the top" of the existing /home/user? Assuming the /etc/nsswitch is
configured with "nis files" as the preferred order, and that passwd is the
only NIS map, how would having a user and group configured locally as well
as on the NIS server be problem.




 
Reply With Quote
 
 
 
 
PDock
Guest
Posts: n/a

 
      11-22-2003, 12:36 PM
Dusty wrote:

> Would the autmounter then mount the NFS /home/user
> "over the top" of the existing /home/user?

Yes
> Assuming the /etc/nsswitch is
> configured with "nis files" as the preferred order, and that passwd is the
> only NIS map, how would having a user and group configured locally as well
> as on the NIS server be problem.

Because automounter would overlay the entire /home directory
Your better course of action is to establish NIS users with a /home/users
<nisuser> with passwd using that home dir.
On local machine same user would be in /home/<user> with that passwd file
having that home dir.
Then when user logins in at machine he is a local user he uses /home
hisfiles
When same user logs in on any other machine he uses /home/users/hisfiles.
Problem is you need a method to sync those two directories.
Hope this helps
ppd
 
Reply With Quote
Reply

Thread Tools
Display Modes

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 On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
can't add users to the local admin group ride1600@cox.net Windows Networking 5 07-07-2008 01:07 PM
FTP - Let local users change their passwords Dan Windows Networking 0 02-25-2007 07:56 PM
NIS users in local groups? alex k. Linux Networking 2 02-20-2005 11:32 AM
PROFTPD: Some users cannot upload files, some users cannot get directory listing Marc Linux Networking 0 10-24-2003 06:18 AM
PROFTPD: Some users cannot upload files, some users cannot get directory listing Marc Linux Networking 1 10-24-2003 05:50 AM



1 2 3 4 5 6 7 8 9 10 11