每次sudo su切换root用户,都要source /etc/profile
摘要:
每次使用sudo su切换为root用户的,时候,发现/etc/profile里面的配置竟然不可用 系统是centos 6.4的,然后研究了一下 /etc/profile /etc/environment(这个文件为空,那就是什么都不执行) ~/.profile /etc/bashrc ~/.bas 阅读全文
posted @ 2020-03-13 00:20
即学即码+
阅读(3015)
评论(0)
推荐(1)
浙公网安备 33010602011771号