linux中的特殊权限s\t
2013-10-24 10:13
169 查看
权限:
特殊权限:s
t
以文件属主的权限运行该程序
[root@localhost mnt]# ll /usr/bin/passwd
-rwsr-xr-x 1 root root 22960 2006-07-17 /usr/bin/passwd
chmod u=rwx,g=rx,o=rx /sbin/shutdown
chmod u+s
/sbin/shutdown
u+s=4755 对象为二进制可执行文件,以拥有者的身份运行
S 权 限失效
S+x=s
S=s-x
g+s(2755):和目录权限一至;目录下所有创建的文件属组和该目录相同
chmod g+s /mnt
chgrp group2 /mnt
o+t(1777):
chmod o+wrx /test
chmod o+t /test 只有根用户和文件创建者可以修改,目录的创建这可以修改
特殊权限:s
t
以文件属主的权限运行该程序
[root@localhost mnt]# ll /usr/bin/passwd
-rwsr-xr-x 1 root root 22960 2006-07-17 /usr/bin/passwd
chmod u=rwx,g=rx,o=rx /sbin/shutdown
chmod u+s
/sbin/shutdown
u+s=4755 对象为二进制可执行文件,以拥有者的身份运行
S 权 限失效
S+x=s
S=s-x
g+s(2755):和目录权限一至;目录下所有创建的文件属组和该目录相同
chmod g+s /mnt
chgrp group2 /mnt
o+t(1777):
chmod o+wrx /test
chmod o+t /test 只有根用户和文件创建者可以修改,目录的创建这可以修改
相关文章推荐
- LINUX文件的特殊权限
- Linux文件特殊权限解析
- Linux的文件权限和特殊权限
- <实训|第九天>掌握linux中普通的权限控制和三种特殊的权限(sst),做合格的运维工程师
- linux下的文件和目录的特殊权限
- Linux文件和目录的特殊权限
- Linux文件特殊权限
- Linux文件特殊权限
- Linux普通权限及特殊权限讲解
- [linux]文件的特殊权限 SetUid SetGid StickBit
- 2018-1-13Linux基础知识(21)特殊权限
- 8-30 Bash环境配置和linux上的特殊权限说明
- 18.1.2-linux目录文件隐藏属性和特殊权限
- Linux 文件特殊权限和访问控制列表
- Linux命令:特殊权限SUID、GUID、Sticky
- Linux学习---文件特殊权限(SUID)
- linux下文件的特殊权限s和t
- Linux特殊权限:SUID、SGID、SBIT
- Linux赋予普通用户特殊权限
- Linux之文件的特殊权限SUID,SGID,SBIT详解