当前为root权限
cd /home/jboss
执行如下命令,将缺失的配置文件拷贝到指定位置即可
cp ./.bashrc /root
cp ./.bash_profile /root
然后切换账号
su jboss
然后再切换回root
转载于:https://www.cnblogs.com/FCWORLD/p/4866543.html
当前为root权限
cd /home/jboss
执行如下命令,将缺失的配置文件拷贝到指定位置即可
cp ./.bashrc /root
cp ./.bash_profile /root
然后切换账号
su jboss
然后再切换回root
转载于:https://www.cnblogs.com/FCWORLD/p/4866543.html