New answers tagged home-directory
I was able to fix the problem by running the command for p in $(rpm -qa); do rpm --setperms $p; done and restarting the server. Once it restarted not only was I able to log in as any user that had been created I was able to again use the GUI as well. This points to corrupted file permissions somewhere on the system. How they became corrupted I do not ...
The useradd should create the home directory when correct option is passed and you don't (or shouldn't) have to create them manually. I suggest you execute the following (in the order listed) to remove and recreate your user properly. userdel -f -r user1 useradd -m user1 NOTE: you don't have to pass the -d option since the default will be /home/user1 in ...
The only issue I can see with your setup is in your passwd file. Try changing user1:x:513:517::/home/user1:bin/bash to user1:x:513:517::/home/user1:/bin/bash.
Top 50 recent answers are included