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

Re: Locked out of Hurd installation



Bruno Minotti, le Mon 21 Sep 2009 17:52:15 +0200, a écrit :
> Philip Charles wrote:
> >I cannot find a password that will enable me to log into my new Hurd 
> >installation.  Installed using crosshurd.
> >
> >Any ideas?
> I had the same problem and I solved mounting the Hurd Partition on 
> GNU/Linux and changing /etc/shadow (delete all "*" between ":") and 
> /etc/shadow (delete all "x" between ":"). After that root has not 
> password on Hurd; to log in just tape "login root" and <enter>.

apparently crosshurd sets x in the passwd field and doesn't build a
shadow file indeed.  Does anybody know why it doesn't just set an empty
password by default (or maybe better, prompt for one and use mkpasswd)?

Samuel


Reply to: