【Vegas原创】修改oracle用户缺省主目录

例: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 -/u01/app/oracle oracle
posted @ 2009-03-05 15:57  李济宏(Amadeus)  阅读(189)  评论(0编辑  收藏  举报