Ubuntu配置大全

1.解决useradd新用户默认使用sh而不是bash的问题

  useradd之后,使用 usermod -s /bin/bash username 就可以把默认控制台修改为 bash

      然后拷贝其他目录里已经有的 .bashrc 和 .profile 到新用户文件夹,这样就可以像系统默认用户一样有颜色啦

原文地址:https://www.cnblogs.com/xlhblog/p/2048658.html