I'm trying to add a user using the adduser command, but I encountered the following error:
Has anyone experienced this issue before? If so, could you please share how you resolved it?
Thanks in advance for your help!
Code:
Username: fwbak
Full name: fwbak
Uid (Leave empty for default):
Login group [fwbak]:
Login group is fwbak. Invite fwbak into other groups? []:
Login class [default]:
Shell (sh csh tcsh nologin) [sh]: nologin
Home directory [/home/fwbak]: /nonexistent
Home directory permissions (Leave empty for default):
Use password-based authentication? [yes]:
Use an empty password? (yes/no) [no]:
Use a random password? (yes/no) [no]:
Enter password:
Enter password again:
Lock out the account after creation? [no]:
Username : fwbak
Password : *****
Full Name : fwbak
Uid : 2019
Class :
Groups : fwbak
Home : /nonexistent
Home Mode :
Shell : /usr/sbin/nologin
Locked : no
OK? (yes/no) [yes]: y
pw: gid `2033' has already been allocated
adduser: ERROR: There was an error adding user (fwbak).
Add another user? (yes/no) [no]: n
Goodbye!
Thanks in advance for your help!