如何设置root口令

OOo,TeX,KO,ABI,GIMP,Picasa,ProE,QCAD,Inkscape,Kicad,Eagle
huakaibird
帖子: 12
注册时间: 2005-11-11 8:30

如何设置root口令

#1

帖子 huakaibird » 2005-11-12 17:04

在ubuntu安装中没有设置root口令这一项,请问装完以后如何设置root口令。
头像
Tenyears
帖子: 2245
注册时间: 2005-06-30 15:46
来自: 成都

#2

帖子 Tenyears » 2005-11-12 17:39

建议看看新手指南
ubuntu没有root用户
Humanity to others // 己所不欲,勿施与人
Laptop: ThinkPad X220 --- Win7 Home / Ubuntu 12.04
Desktop: Win7/Ubuntu 12.04
Server: Ubuntu12.04
头像
Tenyears
帖子: 2245
注册时间: 2005-06-30 15:46
来自: 成都

#3

帖子 Tenyears » 2005-11-12 17:41

还有,请不要重复发帖。
Humanity to others // 己所不欲,勿施与人
Laptop: ThinkPad X220 --- Win7 Home / Ubuntu 12.04
Desktop: Win7/Ubuntu 12.04
Server: Ubuntu12.04
awei
帖子: 105
注册时间: 2005-05-02 15:29

#4

帖子 awei » 2005-11-12 19:01

awei@Awei:~$ sudo password root
Password:
ifu
帖子: 130
注册时间: 2005-10-25 15:08
来自: 杭州

#5

帖子 ifu » 2005-11-12 20:09

Tenyears 写了:建议看看新手指南
ubuntu没有root用户
晕。。建议你看看。。。
头像
内存不足
论坛版主
帖子: 3277
注册时间: 2005-08-18 18:43
联系:

#6

帖子 内存不足 » 2005-11-12 20:26

主页在调整,暂时性的
໌→ iCookie Gtk Theme
໌→DropPlusBluetheme
กรัก กรัก`菠萝
头像
Tenyears
帖子: 2245
注册时间: 2005-06-30 15:46
来自: 成都

#7

帖子 Tenyears » 2005-11-12 20:36

ifu 写了:
Tenyears 写了:建议看看新手指南
ubuntu没有root用户
晕。。建议你看看。。。
看来是我错了。
sorry
Humanity to others // 己所不欲,勿施与人
Laptop: ThinkPad X220 --- Win7 Home / Ubuntu 12.04
Desktop: Win7/Ubuntu 12.04
Server: Ubuntu12.04
头像
longmjshen
帖子: 94
注册时间: 2005-10-18 13:55

#8

帖子 longmjshen » 2005-11-13 10:44

awei 写了:awei@Awei:~$ sudo password root
Password:
baoyu@ubuntu:~$ sudo password root
sudo: password: command not found
baoyu@ubuntu:~$ sudo passwd root
Enter new UNIX password:
Retype new UNIX password:
passwd: password updated successfully
baoyu@ubuntu:~$
maltose
帖子: 6
注册时间: 2005-11-01 19:33

#9

帖子 maltose » 2005-11-13 11:56

在图形界面好像是只能用普通用户进入,再切换为root用户
ifu
帖子: 130
注册时间: 2005-10-25 15:08
来自: 杭州

#10

帖子 ifu » 2005-11-13 14:47

普通用户打开终端输入sudo passwd
系统要求你输入两次密码!
这样就OK了!

我就是这么干的!
头像
laborer
帖子: 1016
注册时间: 2005-10-25 11:15
联系:

#11

帖子 laborer » 2005-11-13 15:36

没必要用root登陆的,sudo足够好用了。呵呵,告诉你怎么把root密码禁用吧

代码: 全选

sudo passwd -l root
huakaibird
帖子: 12
注册时间: 2005-11-11 8:30

#12

帖子 huakaibird » 2005-11-14 13:56

用 sudo passwd root 首先会要求你输入密码,根本不知道这个密码阿
头像
longmjshen
帖子: 94
注册时间: 2005-10-18 13:55

#13

帖子 longmjshen » 2005-11-14 16:31

huakaibird 写了:用 sudo passwd root 首先会要求你输入密码,根本不知道这个密码阿
是不是说明你原来已经设置过ROOT密码,现在等于是修改root密码?
头像
laborer
帖子: 1016
注册时间: 2005-10-25 11:15
联系:

#14

帖子 laborer » 2005-11-14 17:26

sudo时要你输入的密码不是root的密码,是你自己帐户的密码。
头像
longmjshen
帖子: 94
注册时间: 2005-10-18 13:55

#15

帖子 longmjshen » 2005-11-14 17:32

laborer 写了:sudo时要你输入的密码不是root的密码,是你自己帐户的密码。
是的,先输入自已帐号密码,再输入两遍要设置的root的密码。
回复