Ubuntu system Create new user cannot use Tab key to resolve new user supportadduser new user name passwd New user name to add new User II, create home directory # CD/ home1. Create home directory: # mkdir New User's name 2. Copy environment variable template file: # cp/etc/skel/.b* support# cp/etc/skel/.p* support 3. Modify Permissions # Chown-r Support:support support# chmod 770 support www.2cto.com Third, give root permission method one: Modify the/etc/sudoers file, find the following line, put the previous comment (# Remove # # Allows people in the group wheel to run all Commands%wheel all= (All) ALL then modify the user to belong to the root group (wheel), the command is as follows: #usermod-G root User name modified, you can now log in with the new username account, and then use the command Su-, you can get root permissions to operate. Method Two: Modify the/etc/sudoers file, locate the following line, add a row below root, as follows: # allow ROOT to run any commands anywhereroot all= (all All new user's name all= (All) All modified, you can now log in with the new username and then use the command Su-to get root privileges. Four, cannot use the TAB key, the upper and Lower keys, the command line does not show the current path of the resolution because of the default Ubuntu created normal account, the default shell is/bin/sh, and this does not support tab key, so the "specify user" account of the Shell to/bin/ Bash is ready. 1. View the current shell:# echo $SHELL/bin/sh2. Modify the SHELL to/bin/bash:# usermod-s/bin/bash user name
Troubleshoot problems with the TAB key after creating a new user for Ubuntu