Re: root loggin in to console without network?

From: Dragan Cvetkovic (me_at_privacy.net)
Date: 09/29/04


Date: Wed, 29 Sep 2004 13:56:53 -0400

mgrd <mgrd@gmx.net> writes:

> Dragan Cvetkovic wrote:
>> mgrd <mgrd@gmx.net> writes:
>>
>>>Dragan Cvetkovic wrote:
>>>[..]
>>>
>>>>Password for root is in
>>>>/etc/security/passwd, all other users are via NIS.
>>>

[snip]

>> ypcat passwd | grep root
>> returns nothing (i.e. we don't publish root password via NIS).
>> Dragan
>>
>
> hmm .. I'm really not sure but you may have a look at /etc/security/ouser ,
> esp. the value of the key `registry" for root.
>
> If it's
> registry = NIS
> set it to
> registry = files

I always thought that /etc/security/ouser contains the backup (old) version
of /etc/security/user

The only difference between them is that ouser contains the previous entry
for root as SYSTEM = "compat" whereas the /etc/security/user has it as
SYSTEM = "files".

> Also:
> Can you login as root when you stop the NIS client?

Yes, I can. Both via network and directly on console. It seems that only if
the network connection is down I have problems loging in to the console.

Dragan

-- 
Dragan Cvetkovic, 
To be or not to be is true. G. Boole      No it isn't.  L. E. J. Brouwer
!!! Sender/From address is bogus. Use reply-to one !!!


Relevant Pages

  • Re: root loggin in to console without network?
    ... >> returns nothing (i.e. we don't publish root password via NIS). ... the value of the key `registry" for root. ... Dragan ...
    (comp.unix.admin)
  • Re: root loggin in to console without network?
    ... > entries after that but no root). ... > ypcat passwd | grep root ... > returns nothing (i.e. we don't publish root password via NIS). ... the value of the key `registry" for root. ...
    (comp.unix.aix)
  • Re: root loggin in to console without network?
    ... > entries after that but no root). ... > ypcat passwd | grep root ... > returns nothing (i.e. we don't publish root password via NIS). ... the value of the key `registry" for root. ...
    (comp.unix.admin)
  • Re: Problem changing local root password
    ... It's been ages, but if memory serves, using shadow passwords along with NIS tended to be problematic. ... If that still doesn't resolve te issue, try prepending the root record in the passwd file by a + sign. ...
    (RedHat)
  • I can not su to root on my Sun Solaris 9 (SPARC) box, even with the correct password
    ... I used the correct root password but still am not able to ... I have the following configured and running on my Sun box. ... I am using NIS / YP for my authentication and this Sun box is ... NOT neither running as an NIS master nor as an NIS slave server. ...
    (comp.unix.solaris)