大家好,我的一台安装Ubuntu 7.10 server 的服务器。,root 密码忘记,
请问大家有什么方法删除或修改root密码吗?谢谢!
Ubuntu server root 密码忘记
-
- 帖子: 38
- 注册时间: 2008-06-18 17:49
- yaoms
- 帖子: 4952
- 注册时间: 2007-10-19 14:51
- 来自: 深圳
Re: Ubuntu server root 密码忘记
sudo passwd root
这样应该可以重设密码。
这样应该可以重设密码。
Nothing 有事请发邮件到 yms541 AT gmail.com
alias 爱慕颇雷尔='mplayer'
alias 爱慕颇雷尔='mplayer'
-
- 帖子: 38
- 注册时间: 2008-06-18 17:49
Re: Ubuntu server root 密码忘记
谢谢楼上的朋友。
我输入sudo passwd root,出现下面状况。
tang@ubuntu-tang:~$ sudo passwd root
[sudo] password root tang: (输了tang的密码)
tang is not in the sudoers file.This incident will be reported.
tang@ubuntu-tang:~$ sendmail:fatal: open /etc/postfix/mia.cf:No
such file or directory
我输入sudo passwd root,出现下面状况。
tang@ubuntu-tang:~$ sudo passwd root
[sudo] password root tang: (输了tang的密码)
tang is not in the sudoers file.This incident will be reported.
tang@ubuntu-tang:~$ sendmail:fatal: open /etc/postfix/mia.cf:No
such file or directory
- yaoms
- 帖子: 4952
- 注册时间: 2007-10-19 14:51
- 来自: 深圳
Re: Ubuntu server root 密码忘记
你安装系统时创建的那个用户就是 tang 么?使用那个用户试试啊,你这个 tang 好像没有使用 sudo 的权限。
Nothing 有事请发邮件到 yms541 AT gmail.com
alias 爱慕颇雷尔='mplayer'
alias 爱慕颇雷尔='mplayer'
-
- 帖子: 38
- 注册时间: 2008-06-18 17:49
Re: Ubuntu server root 密码忘记
是的 tang 是安装系统时创建的 用户,我就是用 tang 登陆的哦
-
- 帖子: 38
- 注册时间: 2008-06-18 17:49
Re: Ubuntu server root 密码忘记
已经重新修改密码了。
谢谢!
谢谢!
-
- 帖子: 3
- 注册时间: 2009-01-15 15:30
Re: Ubuntu server root 密码忘记
说说是如何修改的?第一次怎末错误了呢