When I type in my console "runuser", I am getting "command not found". I though this command was pretty standard, but I cannot find it on my system.
I am on the root user but I do not have the password of the other user.
Server Fault is a question and answer site for system and network administrators. It only takes a minute to sign up.Sign up to join this community
From your comment on the other answer:
When I do
su - otheruser, I am getting
No directory, logging in with HOME=/. Then when I run
whoami, I get
This happens because 'otheruser' hasn't got a shell (like bash). It's probably something like /bin/false. If you want a shell as 'otheruser', use this instead:
sudo -u otheruser /bin/bash
It is in the util-linux package, so if you want it, install that package.