如何重新禁用ROOT帐号?

系统安装、升级讨论
版面规则
我们都知道新人的确很菜,也喜欢抱怨,并且带有浓厚的Windows习惯,但既然在这里询问,我们就应该有责任帮助他们解决问题,而不是直接泼冷水、简单的否定或发表对解决问题没有任何帮助的帖子。乐于分享,以人为本,这正是Ubuntu的精神所在。
回复
HadesEnduos
帖子: 193
注册时间: 2005-12-27 14:05
来自: 中国
联系:

如何重新禁用ROOT帐号?

#1

帖子 HadesEnduos » 2007-03-01 18:34

UBUNTU默认是禁用ROOT帐号的
用sudo passwd root开启帐号后
如何再禁用root帐号?
..::Outstanding people always stand out::..

AMD Athlon(tm) 64 Processor 3200+
Kinston DDR400 512MB SS * 2
ASUS A8V Deluxe Wireless Edition - VIA K8T800PRO
Dataland AIW 9800SE - ATI Technologies Inc R350 AH [Radeon 9800]
yohu
帖子: 955
注册时间: 2006-12-18 17:04
来自: 福建泉州

#2

帖子 yohu » 2007-03-01 18:40

代码: 全选

sudo passwd -l root
拥有超级牛力的搜索引擎:
http://www.google.com/linux
http://www.google.com/
头像
yhlfh
帖子: 579
注册时间: 2006-09-02 20:42
来自: 东海明珠

#3

帖子 yhlfh » 2007-03-01 18:41

没必要禁用掉
Life is like a box of chocolates, you never know what you're going to get.
HadesEnduos
帖子: 193
注册时间: 2005-12-27 14:05
来自: 中国
联系:

#4

帖子 HadesEnduos » 2007-03-01 22:43

yhlfh 写了:没必要禁用掉
觉得有必要禁掉。开SSH公网服务器,容易被人暴力破解,就变成肉鸡了。
..::Outstanding people always stand out::..

AMD Athlon(tm) 64 Processor 3200+
Kinston DDR400 512MB SS * 2
ASUS A8V Deluxe Wireless Edition - VIA K8T800PRO
Dataland AIW 9800SE - ATI Technologies Inc R350 AH [Radeon 9800]
HadesEnduos
帖子: 193
注册时间: 2005-12-27 14:05
来自: 中国
联系:

#5

帖子 HadesEnduos » 2007-03-01 22:50

代码: 全选

sudo passwd -l root
貌似不可以su了,只可以sudo。
原来默认是可以su的,怎么恢复到原来状态?
..::Outstanding people always stand out::..

AMD Athlon(tm) 64 Processor 3200+
Kinston DDR400 512MB SS * 2
ASUS A8V Deluxe Wireless Edition - VIA K8T800PRO
Dataland AIW 9800SE - ATI Technologies Inc R350 AH [Radeon 9800]
yohu
帖子: 955
注册时间: 2006-12-18 17:04
来自: 福建泉州

#6

帖子 yohu » 2007-03-02 8:11

代码: 全选

sudo su
拥有超级牛力的搜索引擎:
http://www.google.com/linux
http://www.google.com/
HadesEnduos
帖子: 193
注册时间: 2005-12-27 14:05
来自: 中国
联系:

#7

帖子 HadesEnduos » 2007-03-03 21:39

yohu 写了:

代码: 全选

sudo su
呵呵,低级错误。
..::Outstanding people always stand out::..

AMD Athlon(tm) 64 Processor 3200+
Kinston DDR400 512MB SS * 2
ASUS A8V Deluxe Wireless Edition - VIA K8T800PRO
Dataland AIW 9800SE - ATI Technologies Inc R350 AH [Radeon 9800]
头像
SuperWar3Fan
帖子: 1263
注册时间: 2006-05-20 6:25
来自: 山东淄博
联系:

#8

帖子 SuperWar3Fan » 2007-03-04 11:54

smile
回复