求助:我的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
根目录下也一样. /sbin/shutdown shutdown -h 你不是超级用户 我看也是 用set uid 把shutdown处理一下就可以了,这样普通用户在执行shutdown这条命令的时候就有了root的权限了 :mrgreen: 用su -命令就可以了 halt -n
最好用哦
[email protected]
页:
[1]