With running serval commands in Linux, I am getting the error when trying to create a new user:

 sh-4.2$ sudo adduser mbyousaf
adduser: /etc/gshadow.1270: Structure needs cleaning
adduser: cannot lock /etc/gshadow; try again later.

Does anybody know how to solve it? I am using my sudo command to add the user


Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.