On Tue, Sep 23, 2008 at 3:26 AM, Yue Chen <[EMAIL PROTECTED]> wrote:
> Hi Peter
>
> It is as followings
>
> passwd:     compat files nis
> shadow:     compat files nis
> group:      files nis

That doesn't look at all right. You don't need a shadow entry, and the passwd
configuration for compat mode should be like:

passwd_compat:     nis
passwd: compat

>> On Thu, Sep 18, 2008 at 9:36 AM, Yue Chen <[EMAIL PROTECTED]> wrote:
>>> Hi everyone
>>>
>>> I have a host installed with NIS+ client. There is a user named jsn in
>>> NIS server.  His login shell is /bin/true. So he can not log on my
>>> host by default. Now I wanna grant his access so I added following
>>> line into /etc/passwd.
>>>
>>> +jsn::::::/bin/tcsh
>>>
>>> However, sometimes he is still unable to log on my host. To debug, I
>>> wrote a test binary using getpwnam to grab the user info and then
>>> check pw->pw_shell. To my surprise, the value for pw_shell is rather
>>> unstable. Sometimes it is /bin/tcsh (login is ok), sometimes it is
>>> /bin/true (login fails).
>>>
>>> How can I dig deeper on this weird issue? This issue almost drives me crazy.
>>
>> What does the passwd entry in your /etc/nsswitch.conf file look like?
>>
>> (Are you using compat?)
>>
>> --
>> -Peter Tribble
>> http://www.petertribble.co.uk/ - http://ptribble.blogspot.com/
>>
>



-- 
-Peter Tribble
http://www.petertribble.co.uk/ - http://ptribble.blogspot.com/
_______________________________________________
opensolaris-discuss mailing list
opensolaris-discuss@opensolaris.org

Reply via email to