Troubleshoot problems with the TAB key after creating a new Ubuntu user

Source: Internet
Author: User

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

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.