I changed my password then chnaged it back again. Now I cant get back into my user adnin message...could not update ICEauthority file/home/username/.ICEauthority This has probably been covered can somone point


Maybe that file has wrong permissions or belongs to another user. Check that it belongs to your user and has only read and write permissions to that user:

sudo -i
ls -la /home/<your_username>/.ICEauthority
(example output) -rw------- 1 username username 109968 Sep 10 10:30 /home/username/.ICEauthority

If something is wrong you can fix it with those commands, then logout and login again:

To fix the ownership: sudo chown <your_username>:<your_username> /home/<your_username>/.ICEauthority

To fix read/write permissions: sudo chmod 600 /home/<your_username>/.ICEauthority

Hope this helps.

| improve this answer | |
  • to salem HI on ls -la ~/.ICEauthority I get ls cannot acess /home/username/.ICEauthority: no such file or directory – Antony Sep 10 '12 at 18:20
  • if I write sudo chmod 600 ~/.ICEauthority it asks for password then says cannot acess no such file or directory – Antony Sep 10 '12 at 18:22
  • to salem HI on ls -la ~/.ICEauthority I get ls cannot acess /home/username/.ICEauthority: no such file or directory – Antony Sep 10 '12 at 18:28
  • yes you are right, i think if using sudo ~ is interpreted as the root's home folder. I updated the answer. – Salem Sep 10 '12 at 18:30
  • ls -la /home/<your_username>/.ICEauthority bash: antony: No such file or directory maybe I wrote it wrong? – Antony Sep 10 '12 at 18:38

I have solved this. The problem was with 11.10 in some way. I had given up, so I put the 12.04 CD in to start the new installation. Well I thought that I would just try the proceedure 1 more time.

ubuntu@ubuntu:/media$ sudo ecryptfs-recover-private
INFO: Searching for encrypted private directories (this might take a while)...
INFO: Found [/mnt/home/.ecryptfs/antony/.Private].
Try to recover this directory? [Y/n]: y

Well with the 12.04 live CD it all went correctly and offered me the chance to use my mount passphrase at last. And I just copied the home directory into my w7 partition while I re-installed. So the lesson is use the 12.04 live cd even if you are running 11.10 etc. Alls well that ends well.

| improve this answer | |

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.