摘要: 一、which 命名 1.which 只能用于查询环境变量PATH中的路径下的可执行文件。例如 ls cat mv ,我们看到他们都是在PATH下的。 [root@localhost ~]# which lsalias ls='ls --color=auto' /usr/bin/ls[root@lo 阅读全文
posted @ 2017-12-22 23:45 天梭 阅读(231) 评论(0) 推荐(0) 编辑
摘要: 1.set_uid:对二进制可执行文件有效。用户对于该文件具有x的权限。在执行该文件的过程中有效。用户将临时具有该文件所有者的权限.表现为在所有者权限端多了一个S。 [root@localhost ~]# ls -l /usr/bin/passwd -rwsr-xr-x. 1 root root 2 阅读全文
posted @ 2017-12-22 08:13 天梭 阅读(95) 评论(0) 推荐(0) 编辑