Questions tagged «shadow»


2
为什么我什至以'!在其影子条目中?
$cat /etc/passwd |grep -i root root:x:0:0:root:/root:/bin/bash $sudo cat /etc/shadow |grep -i root root:!:17179:0:99999:7::: 在影子文件的第二个字段中,!意味着root用户无法登录,但是为什么我可以通过root登录到root用户sudo su? 为什么我不能通过su root或登录root用户su -?
By using our site, you acknowledge that you have read and understand our Cookie Policy and Privacy Policy.
Licensed under cc by-sa 3.0 with attribution required.