平台:
Red Hat Enterprise Linux 5
2.6.18-194.el5
故障描述,使用oracle用户登录linux时报错:
User's $HOME/.dmrc file is being ignored. This prevents the defaults session and language from being saved. File should be owned by user and have 644 permissions. User's $HOME directory must be owned by user and not writable by other users.
故障原因,用户错误地执行了下面的命令:
chmod -R 775 /home/oracle
解决办法,依次执行下面的命令:
sudo chown oracle /home/oracle/.dmrc
chmod 644 /home/oracle/.dmrc
sudo chown oracle /home/oracle
chmod 755 /home/oracle
参考,ubuntu系统下,对此问题的详细解释:
http://wiki.ubuntu.org.cn/UbuntuHelp:DmrcErrors
Red Hat Enterprise Linux 5
2.6.18-194.el5
故障描述,使用oracle用户登录linux时报错:
User's $HOME/.dmrc file is being ignored. This prevents the defaults session and language from being saved. File should be owned by user and have 644 permissions. User's $HOME directory must be owned by user and not writable by other users.
故障原因,用户错误地执行了下面的命令:
chmod -R 775 /home/oracle
解决办法,依次执行下面的命令:
sudo chown oracle /home/oracle/.dmrc
chmod 644 /home/oracle/.dmrc
sudo chown oracle /home/oracle
chmod 755 /home/oracle
参考,ubuntu系统下,对此问题的详细解释:
http://wiki.ubuntu.org.cn/UbuntuHelp:DmrcErrors