- 博客(4)
- 收藏
- 关注
原创 三种特殊文件权限 SetUID、SetGID、Sticky BIT 总结
1.SetUID1)功能介绍:只有可以执行的二进制程序才能设定SUID权限 命令执行者要对该程序拥有执行权限 x 命令执行者启动该程序时获得该程序属主身份 SetUID权限只在该程序执行过程中有效,也就是说身份改变只在程序执行中有效举例思考:为什么普通用户可以修改自己的密码?[root@Beiqi ~]# ll /etc/passwd-rw-r--r-- 1 root root 1495 7月 7 18:20 /etc/passwd[root@Beiqi ~]# ll /etc
2020-07-08 00:46:40 270
原创 ACL权限问题
ACL权限在Centos7默认开启,无命令则[root@Beiqi ~]# cat /etc/redhat-releaseCentOS Linux release 7.8.2003 (Core)[root@Beiqi ~]# yum -y install libacl aclgetfacl 文件名 查看文件的ACL权限setfacl 选项 文件名 设置ACL权限 -m ...
2020-07-07 18:57:45 283
原创 学习sudo遇到的问题
[root@Beiqi ~]# cat /etc/redhat-releaseCentOS Linux release 7.8.2003 (Core)[root@Beiqi ~]# visudo## Allow root to run any commands anywhereroot ALL=(ALL) ALLbeiqi ALL=/usr/sbin/useraddbeiqi ALL=/usr/bin/passwd## Allows me..
2020-07-07 18:22:47 166
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人