解决 debian TAB 键不能自动补全
程序员文章站
2022-06-01 12:47:23
...
Use this command for create a new user:
# useradd newuser -m -s /bin/bash
If u create the new user already, you can use the following to change the bash;
You can determine what shell the user is using using the following command
# getent passwd dozray
dozray:x:1001:1001:x:/home/dozray:/bin/zsh
You can change the users shell using the chsh command
# chsh -s /bin/bash dozray
Or
# usermod -s /bin/bash dozray
转载于:https://my.oschina.net/doz/blog/472716