I cannot create a user; I have no permission.
I always getting the below error msg.

labex:~/ $ useradd jack [0:47:57]
useradd: Permission denied.
useradd: cannot lock /etc/passwd; try again later.

1 Answers

  • LabEx-admin

    You can try the command with sudo:

    sudo useradd jack
    
    May, 05 2023
Sign in to answer