Date: Sat, 16 Apr 2005 10:35:55 -0700 From: Joshua Tinnin <krinklyfig@spymac.com> To: freebsd-questions@freebsd.org Cc: Marty Landman <MLandman@face2interface.com> Subject: Re: lost root passwd Message-ID: <200504161035.55854.krinklyfig@spymac.com> In-Reply-To: <6.2.0.14.0.20050416124420.03a0bed0@mail.face2interface.com> References: <6.2.0.14.0.20050225125247.02e6d948@mail.face2interface.com> <20050227182510.GB44504@osiris.chen.org.nz> <6.2.0.14.0.20050416124420.03a0bed0@mail.face2interface.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On Sat 16 Apr 05 09:57, Marty Landman <MLandman@face2interface.com> wrote: > I have a relatively new 5.2 installation You should probably install 5.3-RELEASE if at all possible, or 4.11-RELEASE (though 6.x is soon to be the STABLE branch). 5.2 is no longer supported, and it wasn't a production release. 5.3 is the first "true" release of the 5.x branch - 5.4 will be released very soon, incidentally. I'm not terribly familiar with the errors you're getting, so I'm not sure, but I don't think it's related to your particular release (something might be up with pam?), though in general you're running unsupported software. Try: % sysctl kern.securelevel If it's anything but -1, and if you have kernsecurelevel_enable="YES" in your /etc/rc.conf you might have problems ... More below ... > 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 Did you do # mount -u / ? > ... > # passwd Try: # passwd root > the response is > > passwd: pam_chauthtok(): error in service module > > > Anyway I can fix this? Here's some info about PAM: http://www.freebsd.org/doc/en_US.ISO8859-1/articles/pam/pam-config.html I'm not seeing pam_chauthtok() in the list of FreeBSD PAM modules: http://www.freebsd.org/doc/en_US.ISO8859-1/articles/pam/pam-freebsd-modules.html ... but that's a bit over my head ... - jt
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200504161035.55854.krinklyfig>