6
2
This user was created using this command:
sudo adduser --system --home=/opt/user --group user
But now I want that user to be able to login. I can become that user using sudo
, but also would like to directly log in using password.
I tried using this command:
sudo passwd user
It lets me add password for user. When I try to login, it logins but instantly exits.
Do you think you can get the picture of /etc/passwd now? – Farrukh Sadykov – 2015-06-11T02:08:31.007