Linux入门基础 #8:Linux拓展权限
本文出自 http://blog.csdn.net/shuangde800
---------------------------------------------
$ ls -l /usr/bin/passwd
显示:-rwsr-xr-x 1 root root 41284 Apr 9 2012 /usr/bin/passwd
U权限的x位变成了s,说明这个文件是suid权限设置suid: $ chmod u+s test
设置sgid: $ chmod g+s test
设置sticky: $ chmod o+t test