Quantcast
Channel: UNIX and Linux Forums
Viewing all articles
Browse latest Browse all 16232

Non interactive su in bash script

$
0
0
Hi,

I have a python gui which allow users entering the root password, then a bash script is called to run "su" with the root password on the background. I could find a way to run "su" with a password. How to run "su" in a bash script without password prompt?

Thank you.

Viewing all articles
Browse latest Browse all 16232

Trending Articles