selinux-ls

来源:互联网 发布:mac versions 破解版 编辑:程序博客网 时间:2024/06/05 01:53
  • ls -Z #Display security context so it fits on most displays. Displays only mode, user, group, security context and file name.
    [hello@localhost ~]lsZ[hello@localhost ] -rw-rw-r–. hello hello unconfined_u:object_r:user_home_t:s0 v
  • 特殊权限 [421]ugo
    2 275本组成员创建的文件,组内其他人都可以读写
    [root@localhost ~]chmod2275/var/www/html[root@localhost ] ll /var/www/
    [root@localhost ~]$ d-w-rxsr-x. 4 root root 52 Jun 29 23:40 html
  • ssl  #https
    这里写图片描述
原创粉丝点击