I cant add user with GUI

Issues related to applications and software problems and general support
Post Reply
mahoair
Posts: 4
Joined: 2021/10/17 13:26:18

I cant add user with GUI

Post by mahoair » 2021/10/17 13:32:49

Image

Hello, I was able to add a username called 2000006715 before. Then I deleted that user. Now I want to add the same user, but it gives an error as seen in the picture. What is the reason of this? How can I solve it? thanks

User avatar
TrevorH
Site Admin
Posts: 33191
Joined: 2009/09/24 10:40:56
Location: Brighton, UK

Re: I cant add user with GUI

Post by TrevorH » 2021/10/17 14:18:26

From man useradd
Usernames may contain only lower and upper case letters, digits, underscores, or dashes. They
can end with a dollar sign. Dashes are not allowed at the beginning of the username. Fully
numeric usernames and usernames . or .. are also disallowed. It is not recommended to use
usernames beginning with . character as their home directories will be hidden in the ls
output. In regular expression terms: [a-zA-Z0-9_.][a-zA-Z0-9_.-]*[$]?

Usernames may only be up to 32 characters long.
The future appears to be RHEL or Debian. I think I'm going Debian.
Info for USB installs on http://wiki.centos.org/HowTos/InstallFromUSBkey
CentOS 5 and 6 are deadest, do not use them.
Use the FAQ Luke

mahoair
Posts: 4
Joined: 2021/10/17 13:26:18

Re: I cant add user with GUI

Post by mahoair » 2021/10/17 16:21:13

but first i tried this in GUI on centos8 and it worked, then i deleted the user but i can't do it anymore, how is that possible

mahoair
Posts: 4
Joined: 2021/10/17 13:26:18

Re: I cant add user with GUI

Post by mahoair » 2021/10/17 16:25:25

and ı am taking this ;

running '/usr/sbin/useradd' failed child process exited with code 3

lightman47
Posts: 1521
Joined: 2014/05/21 20:16:00
Location: Central New York, USA

Re: I cant add user with GUI

Post by lightman47 » 2021/10/17 18:04:10

I wonder some update 'fixed this' since you initially created the account. I just tried it in my rhel 8 in both Gnome and command line - no go!

User avatar
jlehtone
Posts: 4523
Joined: 2007/12/11 08:17:33
Location: Finland

Re: I cant add user with GUI

Post by jlehtone » 2021/10/17 18:44:29

mahoair wrote:
2021/10/17 16:21:13
but first i tried this in GUI on centos8 and it worked, then i deleted the user but i can't do it anymore, how is that possible
The earlier GUI must have had a flaw that allowed what it should not have. The current one does it as it should have all along. That is perfectly normal; bug are found and fixed.

mahoair
Posts: 4
Joined: 2021/10/17 13:26:18

Re: I cant add user with GUI

Post by mahoair » 2021/10/17 20:42:27

thank you for your info

Post Reply