1. mkdir -pv /app/{software,service,midware,backups,data,logs,temp}
    2. useradd -r app && chown app:app -R /app && chmod 755 -R /app

    切换到新创建的用户,显示 bash-4.2$,且无法正常使用命令

    1. mkdir /home/app
    2. cp /etc/skel/.bash_logout /home/app
    3. cp /etc/skel/.bash_profile /home/app
    4. cp /etc/skel/.bashrc /home/app
    5. chown app:app -R /home/app