Manuals for the command line
su - run a command with substitute user and group ID
sudo, sudoedit — execute a command as another user
tee - read from standard input and write to standard output and files