root:wheel 的含义

Cas*_*ash 30 command-line users group

root:wheel 在下面是什么意思?

chown root:wheel myfile

phu*_*ehe 34

root是一个用户(超级用户)并且wheel是一个组(我猜是超级用户)。

chown root:wheel myfile
Run Code Online (Sandbox Code Playgroud)

意味着使myfile属于用户root和组wheel(阅读man chown更多信息)。

  • `wheel` 通常是具有 sudo 权限的组(参见 [这个问题](http://unix.stackexchange.com/questions/1262/where-did-the-wheel-group-get-its-name)) (10认同)

小智 8

更具体地说,wheel 组:它是一个 Unix 组,专门针对那些有权以 root 身份使用 su 的用户。