Monday, May 6, 2024
 Popular · Latest · Hot · Upcoming
4
rated 0 times [  4] [ 0]  / answers: 1 / hits: 12734  / 2 Years ago, sun, october 30, 2022, 1:29:36

This is very weird, when add a user using the command line then set a password I cant login using the GUI!
is this a new thing or what?


More From » 12.04

 Answers
3

You can add an new user (with the common options, and /home/[user] as home directory) with:



useradd -m -g users -s /bin/bash [user]


and then to set a password:



passwd [user]


EDIT: You can also add additional information about the user with:



chfn [user]

[#30147] Monday, October 31, 2022, 2 Years  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.
izeeas

Total Points: 412
Total Questions: 105
Total Answers: 118

Location: Trinidad and Tobago
Member since Fri, May 8, 2020
4 Years ago
;