Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game. |
| 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.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
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.
 |
GNU/Linux Basic Guide
This 255-page guide will provide you with the keys to understand the philosophy of free software, teach you how to use and handle it, and give you the tools required to move easily in the world of GNU/Linux. Many users and administrators will be taking their first steps with this GNU/Linux Basic guide and it will show you how to approach and solve the problems you encounter.
Click Here to receive this Complete Guide absolutely free. |
|
 |
04-04-2003, 01:13 AM
|
#1
|
|
LQ Newbie
Registered: Mar 2003
Location: Auckland, New Zealand
Distribution: RH 7.3
Posts: 15
Rep:
|
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
|
|
|
|
04-04-2003, 01:59 AM
|
#2
|
|
Member
Registered: Nov 2000
Location: Ware (Nr London, England
Posts: 114
Rep:
|
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
|
|
|
|
04-04-2003, 09:59 AM
|
#3
|
|
Senior Member
Registered: Sep 2002
Location: Arizona, US, Earth
Distribution: Slackware, (Non-Linux: Solaris 7,8,9; OSX; BeOS)
Posts: 1,152
Rep:
|
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)
|
|
|
|
04-05-2003, 09:04 AM
|
#4
|
|
LQ Newbie
Registered: Apr 2003
Posts: 2
Rep:
|
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
|
|
|
|
| Thread Tools |
Search this Thread |
|
|
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
All times are GMT -5. The time now is 09:55 AM.
|
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|