Root Password

Styma, Robert E (Robert) stymar at lucent.com
Tue Apr 11 15:32:16 UTC 2006


> > > > > Kaushal Shriyan wrote:
> > > > > > Hi All
> > > > > >
> > > > > > I am unable to reset my root password, It gives me 
> the following information
> > > > > >
> > > > > > [root at 311111e python]# passwd root
> > > > > > Changing password for user root.
> > > > > > New password:
> > > > > > Retype new password:
> > > > > > passwd: Failed preliminary check by password service
> > > > > > [root at 311111e python]#
> > > > >
> > > > > What happens with just
> > > > >
> > > > > passwd
> > > > >
> > > > > on its own?  This should set your current user 
> password, which is root.
> > > >
> > > > is this under NIS, by any chance?
> > > >
> > > > rday
> > > >
> > > > --
> > > > fedora-list mailing list
> > > > fedora-list at redhat.com
> > > > To unsubscribe: 
https://www.redhat.com/mailman/listinfo/fedora-list
> > >
> >
> > Yes its under NIS
> 
> in that case, i would just google on the combination of "NIS" and that
> error message and see what comes up.
> 
>
>IIRC from the last time I used a system with NIS involved, the command
>to be used to reset a users password was yppasswd.
>
>However, the root password should always be local to the machine and not
>set under NIS. (Think about what would happen if the only way to log in
>was when connected to the NIS server, but you needed to do admin stuff
>on the machine so it was disconnected from the network.)

The above is true.  Check the /etc/nsswitch.conf file to make sure
that for the passwd: entry, files is included in addition to nis.
Your root password is probably not, and should not be, handled by NIS.

Bob Styma





More information about the users mailing list