Ubuntu配置大全

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

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

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

posted on 2011-05-17 11:29  恒恒恒  阅读(357)  评论(0编辑  收藏  举报