Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

It might not work if there is some problem with the home file system but you should give this a try:

As root run the following:

usermod --home /home/ollie ollie

It might not work if there is some problem with the home /home file system but you should give this a try:

try.

As root root run the following:

usermod --home /home/ollie ollie

It might not work if there is some problem with the /home file system but you should give this a try.
As root run the following:

usermod --home /home/ollie ollie

Edit
I see your default shell is zsh. Please take a look in to the following files and check if there is some directive there to change your default shell to be / (root)

$ZDOTDIR/.zshenv
$ZDOTDIR/.zprofile
$ZDOTDIR/.zshrc
$ZDOTDIR/.zlogin
$ZDOTDIR/.zlogout
/etc/profile

If ZDOTDIR is not set, then the value of HOME is used; this is the usual case.
For more info visit the following link http://zsh.sourceforge.net/Intro/intro_3.html