Re: Login and Password
-----BEGIN PGP SIGNED MESSAGE-----
On Thu, 25 Nov 1999, Ethan Benson wrote:
> On 25/11/99 Woodrow Lovett wrote:
>
> >Last year I loaded Debians on my box, but because of problems connecting
> >to the internet to complete the installation and the upcoming planting
> >season it has just been sitting there used. I returned to complete the
> >installation,but I can not get into the system. It will not accept the
> >login and password. They could be incorrect. Is there any way to get into
> >the system to change the Login and password. this box is in my home,
> >and there is a single user.
>
> I assume you use i386 and LILO..
>
> reboot and type linux single at the LILO boot: prompt (it only stays for 2
> or 3 seconds so you have to be quick, hold down shift if you have problems
> getting it to appear) that will probably get you a prompt saying enter root
> password for maintenance, if it still rejects your root password there then
> reboot again and enter linux init=/bin/sh that will certainly drop you into
> a root shell with no passwords required, then:
>
> # mount -o remount,rw /
> # mount -o ro /usr
> # passwd root
> and enter a new root password, then (important!):
>
> # sync
> # sync
> # sync
> # umount /usr
> # mount -o remount,ro /
> # sync
After passwd you should be able to continue the boot process with a simple
exec init
Martin
- --
Where do you want to go today? - As far from Redmond as possible!
For public PGP-key: finger mfluch@mathphys.fsk.uni-heidelberg.de
-----BEGIN PGP SIGNATURE-----
Version: 2.6.3ia
Charset: noconv
iQCVAwUBOD1QmLCGSMW7I2etAQFymgP+LGDbfehaImuyHy5gdYUB30WXZNKpV93d
3MDWEZHsCdaMuGyzZS8zh20MyOqXmiFX8xCPOhyGbMxxvYFamcwXzv6eGybbNOW/
RzR51kElmzmP6sVtjDqAtiGJRGfFS3K5L7xh8CJ1ImdmHrDBgcPS+r5B42n9Vg57
ITorvZPl7gI=
=lKhx
-----END PGP SIGNATURE-----
Reply to: