I cannot log in Ubuntu 15.10

Nils Kassube kassube at gmx.net
Fri Jan 29 06:38:27 UTC 2016


Scott Blair wrote:
> Ctrl ALT F2 again. then try this:
> cd
> sudo chown R username:username .* *
> use the . before the * so it will pick up hidden files.

Better use

sudo chown -R $USER:$USER $HOME

1. You missed the "-" before the "R".
2. The ".*" would include ".." which is "/home". If there is more that 
one user on that machine, it would lock out all other users.


Nils



More information about the ubuntu-users mailing list