[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: root password?



You can log in as root, but it doesn't prompt you for a password,
right?

Login in as root, type "passwd".  Enter your new password (twice).
Log out.
Log back in as root.
Does it prompt you for a password now?
Re-boot the machine and try it again.  Still working?

If this isn't working, look in the file /etc/passwd.  You should
see an entry like this for root:

root:x:0:0:root:/root:/bin/sh

root is the login name
x indicates you're using shadow passwords.  This field will be
     some string of characters (e.g., z9823jk) if you're not using
     shadow passwords, or nothing if there is no password.  There
     should not be nothing here.
0 is the user ID.  It must be 0 for root.
0 is the group ID.  This must also be 0.
The rest of the stuff is not terribly important.

If you're using shadow passwords, look at the root entry in the
/etc/shadow file.  The password field is the second field on this
line.  If the password is not some long string of characters, con-
sider something wrong.

Marc

----------
Marc Mongeon <mongeon@bankoe.com>
Unix Specialist
Ban-Koe Systems
9100 W Bloomington Fwy
Bloomington, MN 55431-2200
(612)888-0123, x417 | FAX: (612)888-3344
----------
"It's such a fine line between clever and stupid."
   -- David St. Hubbins and Nigel Tufnel of "Spinal Tap"


>>> Andy Bottman <Andy@Antifact.com> 05/17 3:56 PM >>>
debian-user,
	I am a linux newbie.
	I just recompiled my kernel and lost my root password.  When
logging in the system no longer asks for a password, but only if I log in
as root.  The other users and passwords still work corectlly.  I have tried
to change the password for root, but afterwords the system still does not
request a password for root.
	Could somebody clue me in to my mistake?
Thanks,
  Andy








==========================
  ANDY BOTTMAN
    Andy@AntiFact.com 
==========================



-- 
Unsubscribe?  mail -s unsubscribe debian-user-request@lists.debian.org < /dev/null



Reply to: