I screwed up w/ shadow passwords
Hello, I have on old 486 on which I installed debian (slink) (any excuse), but forgot my root password. So I went in and edited /etc/passwords, where there were 'x's fro the password fields. Then I changed the root password after deleting the 'x' in root's /etc/passwords entry. But now, the password only works under xdm login. Under console login, _no_ password is required. How do I fix this? Martin __ Get Your Private, Free Email at http://www.hotmail.com
Re: I screwed up w/ shadow passwords
Martin Waller wrote: Hello, I have on old 486 on which I installed debian (slink) (any excuse), but forgot my root password. So I went in and edited /etc/passwords, where there were 'x's fro the password fields. [...] How do I fix this? these 'x's are ther because you have shadow installed, so you need to delete rootpassword in /etc/shadow as you have done in passwd. set back password in passwd to the 'x'. that should work. you may take a look to manpages for shadow (man -k shadow), especially to pconv/pwunconv and shadowconfig to swithc between shadow/passwd support. gerhard
Re: I screwed up w/ shadow passwords
On Fri, Oct 15, 1999 at 02:06:05AM -0700, Martin Waller wrote: Hello, I have on old 486 on which I installed debian (slink) (any excuse), but forgot my root password. So I went in and edited /etc/passwords, where there were 'x's fro the password fields. Then I changed the root password after deleting the 'x' in root's /etc/passwords entry. But now, the password only works under xdm login. Under console login, _no_ password is required. How do I fix this? Put the x back. What you really need to do is simply run passwd as root. This wont require knowing the previous password. Ben