Creating new user under Ubuntu linux
Posted on 2013-10-15
I create a new user
sudo useradd user_a -d /home/user_a -s /bin/bash
sudo passwd user_a
When I logout as root, I can see new user added "user_a" on the screen.
When I enter incorrect password, it correctly detects. When I enter correct password, it properly validates but the login screen pops up again. Its kind of recursive.
As soon as I mount /home/user_a to some NFS server, then the login works.
1. Why do I have to mount the new users home directory?
2. Instead of NFS server, can I mount it locally so that I can use local machine's disk?