Yesterday I have modified the file .profile, adding a new PATH at the end of it. After this change I can only login as guest user. Could these two things be connected? How could I solve this problem?
This is my .profile file content:
if [ -n "$BASH_VERSION" ]; then
include .bashrc if it exists
if [ -f "$HOME/.bashrc" ]; then
. "$HOME/.bashrc"
fi
fi
set PATH so it includes user's private bin directories
PATH="$HOME/bin:$HOME/.local/bin:$PATH"
su <user>in terminal, where<user>is your username. This will ask for your password, but not do a full login and thus not source.profile.Thencdto your home directory and edit.profileagain (revertyour changes...) – ridgy Feb 27 '17 at 13:30.profile. Unfortunately this don't have solved the problem. – Simone Feb 27 '17 at 14:02suas guest. – Gunnar Hjalmarsson Feb 27 '17 at 14:03~/.profilefile for the first user. (Edit your question with the additional info.) – Gunnar Hjalmarsson Feb 27 '17 at 14:04bashrc– Simone Feb 27 '17 at 15:35~/.bashrcchange. (~/.profilelooks good AFAICT, assuming that there is a#character before the comment.) – Gunnar Hjalmarsson Feb 27 '17 at 15:49~/.bashrc~/.profile,but I can't directly access to my account yet. – Simone Feb 27 '17 at 16:24