is there any way for a non-root user to su to root without entering a password?
I looked for a -p option on su but to no avail.
I need for a script to run a program as root and then get back out
i was hoping for something like this:
su -p password -c command
so far I only see the ability to su and manually type the password.