M HYPE SPLASH
// general

usermod: cannot lock /etc/passwd

By Emily Wilson

I get this massage: usermod: Permission denied. usermod: cannot lock /etc/passwd; try again laterafter trying to add myself to audio group by:usermod -a -G audio USERNAME.

I would be grateful for any help.

2

1 Answer

You need to run usermod as root, you can do this with sudo:

sudo usermod -a -G audio USERNAME

Your Answer

Sign up or log in

Sign up using Google Sign up using Facebook Sign up using Email and Password

Post as a guest

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