【发布时间】:2014-07-23 18:43:45
【问题描述】:
我正在使用 mac os x,我试图运行 shutdown 命令,但它说 我不是超级用户。
但是,我可以运行 ifconfig 而不是超级用户。
两个命令都在 /sbin 中。
我的 PATH 环境变量包括 /sbin(这就是我可以运行 ifconfig.. 的原因吗?)。
根据我的发现,它说
/sbin
for scripts with superuser (root) privileges required.
但我不太确定这个解释..
感谢您的帮助..
【问题讨论】:
标签: macos unix permissions filesystems root