Home | Mirror | Search | 雜文 | ITEYE 博客 | OSChina 博客 | 51CTO 博客

第 21 章 Permission

目錄

21.1. umask
21.2. Access Permissions
21.2.1. chown - change file owner and group
21.2.2. chgrp - change group ownership
21.2.3. chmod - change file access permissions
21.3. chattr - change file attributes on a Linux second extended file system
21.4. su - run a shell with substitute user and group IDs
21.5. sudo, sudoedit - execute a command as another user
21.5.1. NOPASSWD
21.5.2. 允許或禁止命令
21.5.3. Cmnd_Alias 用法
21.6. ACL - Access Control List
21.6.1. getfacl - get file access control lists
21.6.2. setfacl - set file access control lists
21.6.2.1. set
21.6.2.2. default
21.6.2.3. remove
21.6.3. backup and restore

21.1. umask

[root@development ~]# umask
0022
[root@development ~]# umask -S
u=rwx,g=rx,o=rx		
		

設置

umask 002