lost root passwd

Danny Pansters danny at ricin.com
Sat Apr 16 10:56:26 PDT 2005


On Saturday 16 April 2005 19:35, Joshua Tinnin wrote:
> On Sat 16 Apr 05 09:57, Marty Landman <MLandman at face2interface.com>

<snip>

> > 3.   rebooting into single user mode from the HD, after entering
> >
> > # mount -t ufs -a
>
> Did you do
>
> # mount -u /
>
> ?
>

This is the problem, in SU mode the / partition gets mounted read-only, so you 
need to remount it RW with the -u switch as stated above.

mount -a will not re-mount an already mounted filesystem only those in fstab 
that are not mounted yet.

[ btw, pam_chauthtok() is a function called by the pam_unix module AFAICT ]

HTH,

Dan


More information about the freebsd-questions mailing list