双11狂欢大促

盲盒赢 定制羽绒服

开启惊喜盲盒,抽取你的专属好礼

— 惊喜奖品抢先看 —

看238关于 /etc/default/su 文件的问题

weixin_38050493 weixin_38050493 墨衍会员 · AI 创作全网分发 墨衍智能分发 通过墨衍一键同步至各平台 可同步平台 CSDN微信公众号微博知乎掘金百家号博客园抖音小红书 你的文章也可以这样分发 墨衍会员 ¥399起/年,写一次发全网 我也要 + 加入社区

/etc/default/su 文件中的 console是什么意思,是否注释掉(加#)有什么区别
The CONSOLE variable, by default, is ignored because of the preceding
comment (#) symbol. Therefore, all su attempts are logged to the
console regardless of success or failure.(su地记录不管成功失败都记录在sulog?)By removing the comment symbol, the value of the CONSOLE variable is defined for /dev/console and all successful su attempts to become root are logged to the console. (记录到console是什么意思?) The /var/adm/sulog file contains only
unsuccessful attempts.(怎么sulog又只记录不成功的su呢?)
能不能帮我解释一下这段话,究竟 sulog 只记录不成功的su记录,还是成功不成功都记录呢?
...全文

相关推荐

评论 7
收藏 已收藏
分享
返回顶部