I've created an user on terminal using sudo useradd jeff but i was not able to login, even if replacing password on termial using sudo gedit /etc/passwd, then modify the profile below.
jeff:*:1001:1001::/home/jeff:/bin/sh
I've replace * to a sample password 12345 etc.. but nothing happen, the account still disable.
I need your help on this, Thanks in advance
Reply Like 0 Favorite View the author
All Replies
21wmd
deepin
2018-11-20 00:43
#1
Create users for Deepin Center
Reply Like 0 View the author
deepinuser17
deepin
2018-11-20 19:31
#2
本帖最后由 deepinuser17 于 2018-11-20 11:35 编辑
You forgot setting password for the new account. Run following command at terminal and set a password:
sudo passwd jeff
Copy the Code
You should NEVER directly edit /etc/password file at all. Real password is stored /etc/shadow file in hash format. The "*" in /etc/passwd is just a place holder.
Good day,
I've created an user on terminal using sudo useradd jeff but i was not able to login, even if replacing password on termial using sudo gedit /etc/passwd, then modify the profile below.
jeff:*:1001:1001::/home/jeff:/bin/sh
I've replace * to a sample password 12345 etc.. but nothing happen, the account still disable.
I need your help on this, Thanks in advance