36

Linux学习笔记第二周第四次课(2月1日)-12049818-51CTO博客

 6 years ago
source link: http://blog.51cto.com/12059818/2068340
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.
2.18 特殊权限set_uid权限s,set_uid,除了所有者之外的用户,执行的一瞬间临时拥有所有者权限;文件要满足是二进制可执行文件;用户密码文件/etc/shadow文件加set_uid权限#chmod u+s /usr/bin/lsls -l查看权限可以看到,rws权限;红色显示文件文件减set_uid权限#chmod u-s /usr/bin/ls文件加set_uid权限,另外一个方法

About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK