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

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

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

相关文章:

  • 2021-12-28
  • 2021-09-11
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
猜你喜欢
  • 2021-07-27
  • 2021-06-05
  • 2021-11-20
  • 2021-10-28
  • 2021-07-01
  • 2021-06-23
  • 2021-12-12
相关资源
相似解决方案