分页: 1 / 1

各位大虾sudo -s是什么意思?

发表于 : 2008-10-27 21:14
byg1228
今天发现个问题,用sudo -s可以不要密码就能进入到系统管理员,
不知道是不是8.04的漏洞!
知道的大哥解释一下!

Re: 各位大虾sudo -s是什么意思?

发表于 : 2008-10-27 21:35
jlu-windy
byg1228 写了:今天发现个问题,用sudo -s可以不要密码就能进入到系统管理员,
不知道是不是8.04的漏洞!
知道的大哥解释一下!
-S The -S (stdin) option causes sudo to read the password from the
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).

Re: 各位大虾sudo -s是什么意思?

发表于 : 2008-10-28 10:29
xiaohuahua
:em08

Re: 各位大虾sudo -s是什么意思?

发表于 : 2008-11-03 11:42
yujinming
第一次还是要的吧,他是提升权限的一种方式,和su 效果差不多