使用root用户切换到普通用户时,提示如下命令行
[root@Lee ~]# su - oracle
-bash-4.1$
前面不是oracle@Lee...
而是-bash-4.1$
[root@Lee ~]# cd /etc/skel/
[root@Lee skel]# cp .bash_logout .bash_profile .bashrc /home/oracle/
[root@Lee ~]# su - oracle
[oracle@Lee ~]$
使用root用户切换到普通用户时,提示如下命令行
[root@Lee ~]# su - oracle
-bash-4.1$
前面不是oracle@Lee...
而是-bash-4.1$
[root@Lee ~]# cd /etc/skel/
[root@Lee skel]# cp .bash_logout .bash_profile .bashrc /home/oracle/
[root@Lee ~]# su - oracle
[oracle@Lee ~]$