I get this massage:
usermod: Permission denied.
usermod: cannot lock /etc/passwd; try again later
after trying to add myself to audio group by:
usermod -a -G audio USERNAME.
I would be grateful for any help.
I get this massage:
usermod: Permission denied.
usermod: cannot lock /etc/passwd; try again later
after trying to add myself to audio group by:
usermod -a -G audio USERNAME.
I would be grateful for any help.
You need to run usermod as root, you can do this with sudo:
sudo usermod -a -G audio USERNAME
sudo usermod -a -G audio USERNAME
didnt work, it gave me this result: > usermod: Permission denied. > usermod: cannot lock /etc/passwd; try again later. However sudo chmod 666 /dev/ttyACM0 did the trick
– Chuox
Mar 09 '24 at 17:43
sudo? – J. Starnes Jan 03 '18 at 02:06