At some point where I wanted to do
sudo usermod -v 1000-1000 USER
sudo usermod -w 1000-1000 USER
I accidentally applied both these commands to
root
.
According to the documentation I can undo these commands by using the same options in capitals, but when I try
usermod -V 1000-1000 root
then I get the message: usermod: user root is currently used by process 1
.
Is there another way to (un)do this?
Asked by alle_meije
(579 rep)
Feb 28, 2022, 07:46 AM