Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 16 Apr 2005 19:56:01 +0200
From:      Danny Pansters <danny@ricin.com>
To:        freebsd-questions@freebsd.org
Subject:   Re: lost root passwd
Message-ID:  <200504161956.01579.danny@ricin.com>
In-Reply-To: <200504161035.55854.krinklyfig@spymac.com>
References:  <6.2.0.14.0.20050225125247.02e6d948@mail.face2interface.com> <6.2.0.14.0.20050416124420.03a0bed0@mail.face2interface.com> <200504161035.55854.krinklyfig@spymac.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Saturday 16 April 2005 19:35, Joshua Tinnin wrote:
> On Sat 16 Apr 05 09:57, Marty Landman <MLandman@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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200504161956.01579.danny>