FreeBSD 修改 root 密码

此方法适用于忘记 root 密码的情况….

1. 重启电脑

2. 选择单用户模式 “Boot FreeBSD in single user Mode”

3. 输入 fsck -y 检查磁盘

4. 输入 /sbin/mount -a 或者 mount -a

5. 输入 passwd root 或者 passwd,然后会让你输入两次密码

6. 完成 重启电脑

Read More:

发表评论?

0 条评论。

发表评论

注意 - 你可以用以下 HTML tags and attributes:
<a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>