欢迎您访问程序员文章站本站旨在为大家提供分享程序员计算机编程知识!
您现在的位置是: 首页

解决 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