First off I'm new to Linux. I have created a new user called "ginny" with
Now I'm trying to assign a home directory with
usermod -d /link/to/directory ginny but it doesn't assign a home directory to user ginny.
% su - ginny returns an error su: warning : cannot chance directory to /abc: No such file or directory -bash-3.2$:
pwd command returns
/root for user ginny (maybe because i haven't created her a home directory) but is there any switch that can now allow me to assign a home directory to user ginny?