今天发现个问题,用sudo -s可以不要密码就能进入到系统管理员,
不知道是不是8.04的漏洞!
知道的大哥解释一下!
各位大虾sudo -s是什么意思?
-
- 帖子: 52
- 注册时间: 2006-10-18 0:57
各位大虾sudo -s是什么意思?
AMD Athlon x2 3600+
捷波悍马HAO1-GT
斯巴达克X1650GT
Ubuntu 7.04 xgl+beryl
捷波悍马HAO1-GT
斯巴达克X1650GT
Ubuntu 7.04 xgl+beryl
-
- 帖子: 19
- 注册时间: 2008-03-27 16:37
Re: 各位大虾sudo -s是什么意思?
-S The -S (stdin) option causes sudo to read the password from thebyg1228 写了:今天发现个问题,用sudo -s可以不要密码就能进入到系统管理员,
不知道是不是8.04的漏洞!
知道的大哥解释一下!
standard input instead of the terminal device.
-s The -s (shell) option runs the shell specified by the SHELL envi‐
ronment variable if it is set or the shell as specified in
passwd(5).
-
- 帖子: 2
- 注册时间: 2008-10-26 17:23
-
- 帖子: 59
- 注册时间: 2008-10-28 12:35
Re: 各位大虾sudo -s是什么意思?
第一次还是要的吧,他是提升权限的一种方式,和su 效果差不多