LinuxSir.cn,穿越时空的Linuxsir!

 找回密码
 注册
搜索
热搜: shell linux mysql
查看: 882|回复: 8

shutdown problem?

[复制链接]
发表于 2003-10-3 21:49:13 | 显示全部楼层 |阅读模式
windowmaker , xterm , type "shutdown +1"  but it's not shutdown system , it's enter single user
and require root's password ,why ?
发表于 2003-10-3 22:07:41 | 显示全部楼层
# Shut down
shutdown -h now

#Reboot
shutdown -r now
 楼主| 发表于 2003-10-3 22:35:42 | 显示全部楼层

type "shutdown -now "

itcant  shutdown system ,  system tell me need root's password again.  and login in single user  mode . why?
发表于 2003-10-3 23:05:37 | 显示全部楼层

回复: type "shutdown -now "

"shutdown -now"?
这是什么?另外shutdown确实需要root权限, 如果不是root, 可以配置sudo.
 楼主| 发表于 2003-10-3 23:11:20 | 显示全部楼层
i already use root . use windowmanger ,in tty type "shutdown +1 " ,why it need root's login in
,,,suse8.2 , and redhat is not need to do this .
发表于 2003-10-3 23:20:23 | 显示全部楼层
你的shutodwn命令参数不对么,我已经告诉你正确的参数了么。

或者看看man shutdown
http://www.die.net/doc/linux/man/man8/shutdown.8.html
发表于 2003-10-3 23:29:31 | 显示全部楼层
init 0
这样最简单,你都不用关心什么参数。重启init 6
 楼主| 发表于 2003-10-3 23:43:34 | 显示全部楼层
but i wanna shutdown system after 1 minute .
发表于 2003-10-3 23:50:34 | 显示全部楼层
MY GOD.

shutdown -h +1
您需要登录后才可以回帖 登录 | 注册

本版积分规则

快速回复 返回顶部 返回列表