I created a new account on my Linux OS, using the
useradd command, now I want to delete the account created, I'm trying to use the
userdel command to delete that account and I get the following error:
userdel: cannot lock /etc/passwd; try again later.\
I don't understand what that error means.
The syntax I used to delete the account was:
userdel -r "accountname" , I also used
"accountname" userdel but I didn't work.
Can someone help me delete this account using the command line.