[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [suse-security] password recovery
On Saturday 24 July 2004 23.29, Michael Satterwhite wrote:
> On Saturday 24 July 2004 16:14, John Andersen wrote:
> > On Saturday 24 July 2004 08:14 am, Lyle Giese wrote:
> > > In RH, you could boot into single user mode and be auto
> > > connected as root without knowing the password.
> >
> > And you have conclusively proven that the same method
> > will not work in SuSE?
>
> It's been a while, but I proved it in 8.1. I had a root password get
> corrupted, I have no idea how, but it did. When I tried to log in single
> user, it wanted the root password. I used a Knopix CD, mounted my root
> partition, cleared the root password in shadow, and was able to get it
> back.
Or you could
1. boot via the CD/floppys
2. mount the / (rw) (ie. mount /dev/whatever /mnt )
3. chroot to the mounted / (chroot /mnt /bin/bash )
4. issue passwd to change it (passwd)
Its a "roundabout way" derived from installing Gentoo systems...
--
/Rikard
------------------------------------------------------------------------------------
Rikard Johnels email : rikjoh@xxxxxxxxx
Web : http://www.rikjoh.com
Mob : +46 735 05 51 01
------------------------ Public PGP fingerprint ----------------------------
< 15 28 DF 78 67 98 B2 16 1F D3 FD C5 59 D4 B6 78 46 1C EE 56 >
--
Check the headers for your unsubscription address
For additional commands, e-mail: suse-security-help@xxxxxxxx
Security-related bug reports go to security@xxxxxxx, not here