Date: Fri, 30 May 1997 20:09:07 +0200 (MET DST) From: Wolfgang Helbig <helbig@MX.BA-Stuttgart.De> To: andy.p@cableinet.co.uk Cc: freebsd-questions@FreeBSD.ORG Subject: Re: Never thought I could be so stupid! Message-ID: <199705301809.UAA00308@helbig.informatik.ba-stuttgart.de> In-Reply-To: <338EE26B.5A1@cableinet.co.uk> from Andy Pendry at "May 30, 97 02:21:30 pm"
next in thread | previous in thread | raw e-mail | index | archive | help
> > I was changing user passwd's in root, and I enterted passwd without a > user name (I was distracted). When I rebooted, I couldn't get into root > because I had unwittingly changed the root passwd. > > I have tried using a boot floppy. The change root passwd option is > avaialable in the menu, but when I select it, it just redisplays the > menu. It would be *very* nice if this would work! But at that time sysinstall does not know anything about your harddisk and your configuration, and it would compromise security of the installed system, if everybody with boot.flp can become root. But there is another way out: Boot from harddisk in single user mode (enter -s at the boot: prompt). This will let you use the sh as root without having to know the root password. (unless you marked the `console' entry `insecure' in ttys(5)) Then mount all filesystems (mount -a) and enter passwd(8) . After changing your password, exit the shell (^D) and you will be put into multiuser mode. Wolfgang
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199705301809.UAA00308>