qshbg 发表于 2004-2-22 19:46:11

求助:我的shutdown命令为什么用不了啊?

用图形界面或者halt关机都没问题,reboot也可以用,只是不能用shutdown,返回说找不到该命令,请问为什么啊?
具体如下:
$ shutdown
bash: shutdown: command not found
$ shutdown -h
bash: shutdown: command not found
$ shutdown -h now
bash: shutdown: command not found
根目录下也一样.

GGGO 发表于 2004-2-23 00:41:23

/sbin/shutdown

somail 发表于 2004-2-24 10:42:34

shutdown -h

ajinn 发表于 2004-2-24 13:05:58

你不是超级用户

CPUCN 发表于 2004-2-25 18:31:59

我看也是

linky_fan 发表于 2004-2-25 21:29:41

用set uid 把shutdown处理一下就可以了,这样普通用户在执行shutdown这条命令的时候就有了root的权限了 :mrgreen:

dangerous 发表于 2004-2-27 10:38:56

用su -命令就可以了

iywb 发表于 2004-2-27 23:03:42

halt -n
            最好用哦
                  [email protected]
页: [1]
查看完整版本: 求助:我的shutdown命令为什么用不了啊?