On Fri, 2004-08-27 at 16:30 +0200, Giovanni Ridolfi wrote: > Hi to everyone, > I've installed sarge on my ibook, but > I had some keymap problems > http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=266691 > > and an annoying message that forced me to change > root's and my user's passwords [1] > ([1] By the way is my password too weak or it is > a bug in the login(?) program?) > So I've forgotten root's password. > Which string shall I pass to yaboot to have a shell... > an then... > mount /dev/hda3 > and erase root's password from /etc/shadow?
init=/bin/sh that way you will get a root console, you will need to remount the / partition as rw and will be able to execute passwd to change your password, after that, remount again as ro and reboot. Something like: mount -o remount,rw / passwd mount -o remount,ro / reboot Cheers > > Thank you very much, > regards > > Giovanni > -- Carlos Perelló Marín Debian GNU/Linux Sid (PowerPC) Linux Registered User #121232 mailto:[EMAIL PROTECTED] || mailto:[EMAIL PROTECTED] http://carlos.pemas.net Valencia - Spain
signature.asc
Description: This is a digitally signed message part