Date: Tue, 05 May 1998 13:08:50 +0100 From: Karl Pielorz <kpielorz@tdx.co.uk> To: Oles Hnatkevych <gnut@cki.ipri.kiev.ua> Cc: questions@FreeBSD.ORG Subject: Re: root password forgotten Message-ID: <354F0152.859F3A10@tdx.co.uk> References: <Pine.BSF.3.95.980505141505.13932A-100000@cki.ipri.kiev.ua>
next in thread | previous in thread | raw e-mail | index | archive | help
Oles Hnatkevych wrote: > > Hello! > > I'm in deep trouble. We've forgotten root password, and the only > thing we have are boot floppy and fixit floppy. How we solve this? > I can mount harddrive partition, look at its /etc files, even > vi works ;-). > > Booting in single-user mode does not help coz root partition > is read-only. :-( > You were almost there... Once you've booted to single-user mode run: mount -a This we mount all your filesystems as Read/Write - you should then be able to run: passwd Which will change the root password from single-user mode... Regards, Karl Pielorz To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?354F0152.859F3A10>