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

Re: What is the password of "root" when first run after the installation of the base system!



On Tue, Nov 11, 2003 at 10:18:19PM +0000, Colin Watson wrote:
 
> Failing that, boot with the 'init=/bin/sh' parameter (so if you'd
> normally type 'linux' to LILO, say, type 'linux init=/bin/sh' instead)
> and run 'passwd root'.

I found this out rather recently when I was reading the debian users'
guide. When I lost my root password (it had a GBP-sign in it and my
locales changed on an upgrade), I took the more long-winded approach of
booting from a rescue disk and copying my users' hash over the top of
the root one.

It was a *lot* longer as I had to find a cd-rom drive and install it,
too- needless to say I read the docs first now.

-- 
Jon Dowland
http://jon.dowland.name/



Reply to: