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