原文:/etc/profile Permission Denied

普通用户登录问题: root用户登录OK,但普通用户登录时提示: bash: etc profile Permission Denied 解决办法: 在root的用户下查看etc目录权限,为 这个权限是有问题的,其他用户没有列出etc目录下文件的权限,所以其他用户登录会报错 chmod x etc 或者 chmod etc 给 etc 目录加上x权限即可解决问题。 如果root用户也出现该问题,可 ...

2021-01-14 16:34 0 651 推荐指数:

查看详情

Linux登录报错-bash: /etc/profile: Permission denied

管理员用户账号root能正常登陆,但普通用户登陆时提示报错: -bash: /etc/profile: Permission denied 出现这个报错提示的原因:这是/etc目录权限问题。在超级管理员root下查看/etc的权限,可以看到其他普通用户是没有/etc目录的执行权限,所以其 ...

Tue Feb 23 18:12:00 CST 2021 0 505
~/.profile和/etc/profile的区别

登入系统读取步骤: 当登入系统时候获得一个shell进程时,其读取环境设定档有三步 : 1.首先读入的是全局环境变量设定档/etc/profile,然后根据其内容读取额外的设定的文档,如 /etc/profile.d和/etc/inputrc 2.然后根据不同使用者帐号 ...

Fri Jul 17 18:37:00 CST 2020 0 557
etc/profile和/etc/environment的比较

转自:http://andy136566.iteye.com/blog/1025338 先将export LANG=zh_CN加入/etc/profile ,退出系统重新登录,登录提示显示英文。将/etc/profile 中的export LANG=zh_CN删除,将LNAG=zh_CN ...

Mon Aug 31 02:37:00 CST 2015 1 4764
profile(/etc/profile)和bash_profile的区别

profile(/etc/profile)和bash_profile的区别 profile(/etc/profile),用于设置系统级的环境变量和启动程序,在这个文件下配置会对所有用户生效。当用户登录(login)时,文件会被执行,并从/etc/profile.d目录的配置文件中查找shell ...

Wed Jun 10 22:47:00 CST 2020 0 614
 
粤ICP备18138465号  © 2018-2025 CODEPRJ.COM