Re: One method to recover a lost root password



On Sat, Mar 17, 2007 at 06:49:02AM +0100 I heard the voice of
Soeren Straarup, and lo! it spake thus:
On Fri, Mar 16, 2007 at 08:45:30PM -0000, Derekj Tourneo wrote:
now edit the master password file

vi /mnt/etc/master.passwd

Try: vipw -d /mnt/etc
It automaticly updates the right db(s)

# chroot /mnt passwd root


--
Matthew Fuller (MF4839) | fullermd@xxxxxxxxxxxxxxx
Systems/Network Administrator | http://www.over-yonder.net/~fullermd/
On the Internet, nobody can hear you scream.
_______________________________________________
freebsd-hackers@xxxxxxxxxxx mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-hackers
To unsubscribe, send any mail to "freebsd-hackers-unsubscribe@xxxxxxxxxxx"



Relevant Pages

  • Re: HEADS UP: FreeBSD 5.3, 5.4, 6.0 EoLs coming soon
    ... Eugene Grosbein, and lo! ... it spake thus: ... Matthew Fuller | fullermd@xxxxxxxxxxxxxxx ... Systems/Network Administrator | http://www.over-yonder.net/~fullermd/ ...
    (freebsd-stable)
  • Re: calcru: negative time (Interrupt Storm on cpu0: timer)
    ... Matthew Fuller | fullermd@xxxxxxxxxxxxxxx ... Systems/Network Administrator | http://www.over-yonder.net/~fullermd/ ... On the Internet, nobody can hear you scream. ...
    (freebsd-stable)
  • Re: Booting from Memory Stick
    ... chroot ${USBMNT} /bin/sh ...
    (freebsd-questions)
  • Re: root password help
    ... > Don't be sloppy. ... > "passwd root" to change it more safely. ... Haven't learned to use chroot or the others, ... Bruce<+> ...
    (comp.os.linux.security)
  • Re: root password help
    ... > Don't be sloppy. ... > "passwd root" to change it more safely. ... Haven't learned to use chroot or the others, ... Bruce<+> ...
    (comp.os.linux.security)