69

特殊权限set_uid;set_gid;set_bit-菜鸟的成长之路-51CTO博客

 6 years ago
source link: http://blog.51cto.com/12777709/2067959
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.
s就是set_uid的权限代表普通用户临时拥有root权限是二进制文件,是一个可执行的文件当普通用户执行这种类型的文件,临时拥有所属主的权限当我们加上s权限后,我们普通用户就可以使用了su-用户这样就可以切换目录不过我们目录也可以设置s权限,但是也没有意义,因为是不可执行文件

About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK