I created a new user in linux by running useradd
command:
david@machineA:~> sudo useradd golden
david@machineA:~> sudo su - golden
Creating directory '/home/golden'.
$ ^C
$ exit
su: User not known to the underlying authentication module
But when I try to switch to that user, I am seeing an error: su: User not known to the underlying authentication module
What wrong I am doing?