Monday, April 29, 2024
 Popular · Latest · Hot · Upcoming
6
rated 0 times [  6] [ 0]  / answers: 1 / hits: 1563  / 1 Year ago, mon, march 27, 2023, 2:31:42

I'm having a weird issue. When I put my password using my account (ramiz) on the login screen of GUI, a blink of screen and it take me back to the login screen. I tried with Guest user and it is logging me in. I also tried Ctrl+ATL+F1 to switch to command mode and try to login there with sudo -s. And give my login id (ramiz) and password there it successfully logged me there in the command mode.



I remember I ran few chmod/chown command which cause me this issue. Before this happened everytime I launch Terminal I got a error msg of permission denied which is something like "bash: XXXXX Permission denied". I also lost rights on .bashrc file which I think happened after I ran those chmod/chown commands.



Please, help!


More From » permissions

 Answers
6

sudo chown -R ramiz /home/ramiz and sudo chmod -R 755 /home/ramiz should do the trick.



If you cannot run these commands from your user, boot into recovery mode (hold right shift during POST and when the grub menu is shown select the recovery mode (second line)), when you get a menu, remount everything rw, and select netroot. You will be dropped to the root shell, where you can execute the commands without sudo.


[#40738] Monday, March 27, 2023, 1 Year  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.
terneive

Total Points: 329
Total Questions: 117
Total Answers: 105

Location: Denmark
Member since Tue, Oct 18, 2022
2 Years ago
;