例:oracle原缺省目录为/home/oralce ,现改为/u01/app/oracle
步骤:
1,拷贝.bash_profile
$ cp /home/oracle/.bash_profile /u01/app/oracle/.bash_profile
2,拷贝.bashrc
$ cp /home/oracle/.bashrc /u01/app/oracle/.bashrc
3,usermod
# usermod -d /u01/app/oracle oracle
【Vegas原创】修改oracle用户缺省主目录
阅读 190
2022-09-08
例:oracle原缺省目录为/home/oralce ,现改为/u01/app/oracle
步骤:
1,拷贝.bash_profile
$ cp /home/oracle/.bash_profile /u01/app/oracle/.bash_profile
2,拷贝.bashrc
$ cp /home/oracle/.bashrc /u01/app/oracle/.bashrc
3,usermod
# usermod -d /u01/app/oracle oracle
相关推荐
精彩评论(0)