Dear All,
I have just dnf upgraded from F22 to F24. Everything went fine, but now, when I try to login, I get the following message:
"/home/psmith: change directory failed: Permission denied"
Any ideas?
Thanks in advance,
Paul
On 07/06/2016 01:26 PM, Paul Smith wrote:
I have just dnf upgraded from F22 to F24. Everything went fine, but now, when I try to login, I get the following message:
"/home/psmith: change directory failed: Permission denied"
Any ideas?
Log on as root from a text console and run restorecon -r /home/psmith and see if that helps.
On Wed, Jul 6, 2016 at 9:32 PM, Joe Zeff joe@zeff.us wrote:
I have just dnf upgraded from F22 to F24. Everything went fine, but now, when I try to login, I get the following message:
"/home/psmith: change directory failed: Permission denied"
Any ideas?
Log on as root from a text console and run restorecon -r /home/psmith and see if that helps.
Thanks, Joe and Stan.
Joe's suggestion did the trick!
Paul
On Wed, 6 Jul 2016 21:26:39 +0100 Paul Smith phhs80@gmail.com wrote:
Dear All,
I have just dnf upgraded from F22 to F24. Everything went fine, but now, when I try to login, I get the following message:
"/home/psmith: change directory failed: Permission denied"
Any ideas?
Check the UID of psmith. My guess is that it has changed. You can, as root, usermod user to have the UID you specify, man usermod. Change the GID at the same time.
Then you will want to chown -R UID:GID /home/psmith to the new UID/GID, as root.
Then, if your password hasn't changed, you should be able to log in. Otherwise, you can also expire your password as root, and then reset it to what you want at first login. man passwd