Linux切换用户时报错/.bash_profile: Permission denied,命令行(终端提示符)出现-bash-4.2$
摘要:利用su - 切换用户时,发现有一个用户切时出现如下情况 [root@localhost ~]# su - aaa su: warning: cannot change directory to /home/aaa: Permission denied -bash: /home/aaa/.bash_
阅读全文
posted @
2020-07-23 16:47
黎夜
阅读(10638)
推荐(1)
Linux系统中(CentOS 7)的用户和权限管理
摘要:用户和组 用户信息文件 /etc/passwd (1 2 3 4 5 6 7) root:x:0:0:root:/root:/bin/bash 用户信息,以 : 分割字段 daemon:x:2:2:daemon:/sbin:/sbin/nologin games:x:12:100:games:/us
阅读全文
posted @
2020-07-22 20:36
黎夜
阅读(3248)
推荐(0)