So I have a script that runs as a non-root user, lets say the username is 'xymon' .
This script needs to log on to a remote system as a non-root user also and call up a bash script that runs another bash script as root.
in short: user xymon on system A needs to run a file as root user and have the daemon that the script comes up as run as root only.
I don't want to specify the root password in any of the scripts.
Is there a way of doing this?