Skip Navigation

How can I run a command without being logged in as a user?

XY: I installed bazzite and goofed up. The username is wrong and my home is /home/bazzite instead of /home/ludrol

I am trying to run usermod -l ludrol bazzite in tty3 with sudo su - but the bazzite user is logged.

Solution:Added password to root with passwdLogged in as rootRan required usermod commandsDisabled root with passwd -l

Comments

7

Comments

7