有人能帮我把文件中的以下文本翻译/etc/sudoers
成可读的英语吗?我想知道具体是什么- orpkale
意思。
557149 ALL =(root) /bin/su - orpkale
答案1
这意味着允许用户557149
以用户身份启动登录shell orpkale
。来自man su
:
-, -l, --login
Provide an environment similar to what the user would expect had
the user logged in directly.
When - is used, it must be specified before any username. For
portability it is recommended to use it as last option, before any
username. The other forms (-l and --login) do not have this
restriction.