LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices

Reply
 
Search this Thread
Old 04-04-2003, 02:13 AM   #1
synfield
LQ Newbie
 
Registered: Mar 2003
Location: Auckland, New Zealand
Distribution: RH 7.3
Posts: 15

Rep: Reputation: 0
problem logging in local users - nis,nfs


Have managed to successfully combine nfs for mounting user home directories and nis for password authentication, thereby allowing the user to log into any client on the network and have access to their home directory.

However if I want to set a user up locally on a client machine, as root on that machine, then try to log in as that user locally, I can't access their home directory and just get a bash shell for them - but in text mode only, can't log in at all using the GUI.

I thought the /etc/nsswitch.conf file accesses local files first before looking at nis for authentication, and if I append the local user after the +:::::: in the local machines /etc/password file that they can then be authorised locally????

Why does nis/nfs completely take over, and what can I do to work around this? Any enlightenment would be appreciated
 
Old 04-04-2003, 02:59 AM   #2
Paul_assheton
Member
 
Registered: Nov 2000
Location: Ware (Nr London, England
Posts: 114

Rep: Reputation: 15
The nsswitch.conf file controls the order that things are resolved. Check your file and make sure that files comes before nis in the entry for password.

e.g.

passwd: files nis

This looks at local files before it looks at the nis system

Hope this helps

Paul
 
Old 04-04-2003, 10:59 AM   #3
moses
Senior Member
 
Registered: Sep 2002
Location: Arizona, US, Earth
Distribution: Slackware, (Non-Linux: Solaris 7,8,9; OSX; BeOS)
Posts: 1,152

Rep: Reputation: 46
The default is that root cannot access NFS served disks on a client. This is for security reasons. If your local user's home dir is mounted via NFS, it will most likely not be available to root. It should be adjustable by editing the exports definition file and adding in the correct permissions. (man exports)
 
Old 04-05-2003, 10:04 AM   #4
porika
LQ Newbie
 
Registered: Apr 2003
Posts: 2

Rep: Reputation: 0
Question how to setup .. .plz help

hello ,
could send some liinks on HOWTOs for setting up NIS & NFS ( essentially , I'm trying to do what u have done) ... for RH 8.0 ,, I;m now able to configure NIS ... plz help
 
  


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
I need Help on NIS and NFS srikanthrao_d Linux - Hardware 9 01-22-2006 09:04 PM
nfs / nis problem - slow copy to servermounts but fast from server to local hdd krischeu Linux - Networking 1 06-09-2005 12:05 PM
(I have no name!)NIS,NFS MMMarc Linux - Software 0 02-08-2005 07:42 PM
local root can access nis users??? pao Linux - Security 1 07-29-2004 02:06 AM
problem in mounting /home when logging through NIS vaibhava303 Linux - Networking 1 09-17-2003 10:07 AM


All times are GMT -5. The time now is 04:27 AM.

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