lost root passwd

Richard Collyer richard at firebadger.net
Sat Apr 16 10:09:15 PDT 2005


Marty Landman wrote:
> 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?

I suppose you havent got the password for toor?

Regards,
Richard


More information about the freebsd-questions mailing list