NIS user can't login with local entry in passwd

  • Follow


Hi

I have a typical situation, there are two systems both Solaris 8 with
latest Kernel patch update. NIS user "pqrs" can login to system X but
can't login to system Y. Both systems have the local entry for the
user in /etc/passwd and /etc/shadow. Following are the setting in both
systems for /etc/nsswitch.conf, /etc/passwd and /etc/shadow files.
What is that causing that user can't login to system Y.

/etc/nsswitch.conf:

#passwd:     files nis
group: files nis
passwd:      compat

/etc/passwd:

+pqrs:x::::/:/bin/csh
+:x:::::

/etc/shadow:

+pqrs::12445::::::
+::::::::

Anybody has come across such a problem, and what is solution for this.

TIA
Rudra
0
Reply rudrar 8/30/2004 2:59:33 PM

Ram Rudra <rudrar@yahoo.com> wrote:
> Hi

> I have a typical situation, there are two systems both Solaris 8 with
> latest Kernel patch update. NIS user "pqrs" can login to system X but
> can't login to system Y. Both systems have the local entry for the
> user in /etc/passwd and /etc/shadow. Following are the setting in both
> systems for /etc/nsswitch.conf, /etc/passwd and /etc/shadow files.
> What is that causing that user can't login to system Y.

What is the result of "can't login"?

Does the user "exist" on both systems?  What does 'finger -m pqrs'
return on each?

Can root 'su - pqrs' on both systems?

Are both systems bound to the same NIS server?  'ypwhich'

You might disable the name caching daemon (nscd) to make sure it's not
interfering with things during testing.

-- 
Darren Dunham                                           ddunham@taos.com
Senior Technical Consultant         TAOS            http://www.taos.com/
Got some Dr Pepper?                           San Francisco, CA bay area
         < This line left intentionally blank to confuse you. >
0
Reply Darren 8/30/2004 4:11:48 PM


1 Replies
324 Views

(page loaded in 0.064 seconds)

Similiar Articles:













7/21/2012 11:07:27 PM


Reply: