Cocould not update ICEauthority file/home/user/. ICEauthority, authority

Source: Internet
Author: User

Cocould not update ICEauthority file/home/user/. ICEauthority, authority

1. After adding a user (wuwh) to linux, "cocould not update ICEauthority file/home/user/. ICEauthority" appears during logon"

2. I tried many methods on the Internet.

Example 1: sudo chown USER: USER/home/USER/. ICEauthority
Sudo chmod 644/home/USER/. ICEauthority

For example, on the logon page, press CTRL + ALT + F1 to enter the password.
Enter su to root, adduser username and set the password
Then reboot. After the restart, you will find that you have just created a user. Enter the password and then enter the user name that su has failed and the password.
Go to/home/fault user name/and delete. ICEauthorit * all files related to it, then mv/home/New User Name/. ICEauthority $ PWD
# Chown fault User name: Fault user name. ICEauthority
# Chmod 644. ICEauthority
This completes logout.
Select the faulty user and enter the password to access GNOME.
After all the operations are normal, enter the username created by userdel under the terminal to delete the user.

3. The ultimate solution

Sudo chown user-R/home/user(The problem is resolved after execution)

4. Maybe you still haven't solved the problem (set the user in the root group)

Modify the/etc/sudoers file, find the following line, and remove the comment (#).
# Allows people in group wheel to run all commands
% Wheel ALL = (ALL) ALL
Then modify the user and make it belong to the root group (wheel ),
Usermod-g root user


Related Article

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.