Files
eos-bash-shared/eos-run-cmd-with-su
2023-06-12 19:52:22 +03:00

12 lines
128 B
Bash
Executable File

#!/bin/bash
# Show whose password is needed and run 'su -c'.
Main()
{
printf "Root "
/usr/bin/su -c "$@"
}
Main "$@"