Locked out of my user account

Mariano Jara Melagrani mjaramelagrani at gmail.com
Thu Jun 19 01:23:36 UTC 2014


On 18/06/14 18:31, C de-Avillez wrote:
> On Wed, Jun 18, 2014 at 4:20 PM, Mariano Jara Melagrani
> <mjaramelagrani at gmail.com> wrote:
> 
>> Hi Nils, I've just checked them and there are three of them with root
>> as the owner.
>>
>> drwxr-xr-x   7 root    root      4096 ene 22 19:09 ..
>> -rw-------   1 root    root      4984 jun 13 17:46 .viminfo
>> -rw-------   1 root    root       284 jun 13 17:28 .Xauthority
>>
>> Should I change the ownership of the last two ones? I don't recall
>> ever changing them to root.
> 
> You can just delete the .Xauthority file, it will be recreated. It was
> probably created because you ran something like 'sudo startx'.
> 
> For the .viminfo file... chown it back to you.
> 
Hi C de-Avillez, I did as you said and that fixed it. I'm back in now!

I wonder how .Xauthority could have gotten owned by root? I know I
haven't done it (at least not conscientiously).

Thanks C de-Avillez, Nils and Sarunas for your help and time.




More information about the ubuntu-users mailing list