when trying to run a script I'm out permits to enter my user openbox not open, and if I try login from terminal fails
#login tux
Password: ****
login: chdir (/): Permission denied
when trying to run a script I'm out permits to enter my user openbox not open, and if I try login from terminal fails
#login tux
Password: ****
login: chdir (/): Permission denied
Hi rerivero,
I seem that your home directory is wrong "/".
Go to tty1 (use ctrl + alt + F1), login as root.
Edit /etc/passwd and check line that user have /home/{user} and not / for home directory
Example: shann:x:1000:1000:Shann,,,:/home/shann:/bin/bash
Check that /home/{user} exist and have right permission (ls -l /home).
Formely:
drwxr-xr-x [xx] {user} {user} /home/{user}
If not, type chown {user}. /home/{user} -R && chmod 755 /home/{user}
Logout root and try to connect.
hi shann
by an error in a script had changed root permissions 755 to 700. Modified root permissions everything returned to normal.
Thanks
You must log in to post.