Re: root passwd lost

2021-12-12 Thread Alan Somers
On Sun, Dec 12, 2021 at 7:33 PM Frank Hwa  wrote:
>
> Can you help me with the case I lost my root password for the dedicated
> server which has freebsd installed?
>
> Thanks in advance.

Easy, you just need console access.  First reboot it.  At the loader
prompt, select "Boot single user".  Then after the kernel loads you'll
find yourself automatically at a root prompt, without needing to
login.  Change your password using passwd, then exit the shell to
continue normal boot.  You may need to remount your / filesystem rw in
order to change the password.  That can be done with "mount -u -w /"

-Alan



root passwd lost

2021-12-12 Thread Frank Hwa
Can you help me with the case I lost my root password for the dedicated 
server which has freebsd installed?


Thanks in advance.