Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 16 Apr 2005 12:57:03 -0400
From:      Marty Landman <MLandman@face2interface.com>
To:        freebsd-questions@freebsd.org
Subject:   lost root passwd
Message-ID:  <6.2.0.14.0.20050416124420.03a0bed0@mail.face2interface.com>
In-Reply-To: <20050227182510.GB44504@osiris.chen.org.nz>
References:  <6.2.0.14.0.20050225125247.02e6d948@mail.face2interface.com> <20050225222750.GA59300@osiris.chen.org.nz> <c9850fd711881a4e278ad260e1030f8b@secure-computing.net> <6.2.0.14.0.20050226210252.01e3f710@mail.face2interface.com> <20050227043219.GA28882@osiris.chen.org.nz> <6.2.0.14.0.20050227114521.02df9eb0@mail.face2interface.com> <20050227182510.GB44504@osiris.chen.org.nz>

next in thread | previous in thread | raw e-mail | index | archive | help
I have a relatively new 5.2 installation and have forgotten the root pw, 
although I can log on as a member of group wheel.

Not sure how to fix this situation.

1.   /etc/master.passwd has perm's of 0600 so afaik can't change this 
except as root

2.   rebooting from the installation CD then selecting single user mode 
throws me directly into /stand/sysinstall; from there selecting the reset 
root pw option is consistently ignored

3.   rebooting into single user mode from the HD, after entering

# mount -t ufs -a
...
# passwd

the response is

passwd: pam_chauthtok(): error in service module


Anyway I can fix this?

Marty


Marty Landman, Face 2 Interface Inc. 845-679-9387
Search & Sort Easily: http://face2interface.com/Products/FormATable.shtml
Web Installed Formmail: http://face2interface.com/formINSTal



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