Ubuntu User is unable/circular login issue

Source: Internet
Author: User

When you install Oracle database, you need to create a new user Oracle, using the following command: Useradd Oracle. This creates the user Oracle directly, but does not create the Oracle user's files in the home directory. When log out and landed Oracle users, it was found to be circulating in the login interface, unable to log in. Search on the Internet, and found that each user log in when the Home/username directory to create a. Xauthority file (specific features can be Baidu).

Follow the online steps to set the permissions of the file to Oracle at the beginning of the user, and then restart the login to discover that all users are unable to log in ... Open Ubuntu recover mode want to change back to the previous permissions, prompt the file as a read-only file, hey, helpless ...

Finally, the best way to do this is to use the USERADD-M username or adduser username command when creating a user, so you can create the user's own file in the home directory. When you log in, go back to your own directory to create it. Xauthority file, not because the permissions are insufficient or the file does not cause it to start!

Ubuntu User is unable/circular login issue

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.