On Thu, Mar 21, 2002 at 09:21:32AM +0800, Jason wrote:
> Ben Logan wrote:
> > This is the error message you get when you try to run adduser but are
> > not root.  You must be root to add a user.
> 
> No, I logon as a root user. I'm not sure it's some body change some file
> permissions?

Hrmmm...I don't know what's wrong then.  Assuming that you have shadow
passwords enabled, /etc/passwd should be owner/group == root and
should have 644 permissions (-rw-r--r--); and /etc/shadow should be
owner/group == root and should have 600 permissions (-rw-------).  You
might also check the attributes of those two files with the "lsattr"
command.  Perhaps they somehow got the "immutable" flag set (the
output of lsattr should be a bunch of dashes).

Are you running Seawolf?  Have you recently applied the system updates
or done anything else that may have affected the PAM libraries, or
shadow-utils?

Regards,
Ben

-- 
Ben Logan: ben at wblogan dot net
OpenPGP Key KeyID: A1ADD1F0

Humor in the Court:
Q: Now, you have investigated other murders, have you not, where there was
   a victim?



_______________________________________________
Seawolf-list mailing list
[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/seawolf-list

Reply via email to