Is it possible to create a shell script that will run a program that needs root access? I'm trying to automate the running of etherape. I was looking for a way to "feed" the su command a password without user intervention. Here is sort of what I'm thinking:
su /sbin/etherape &
But the man and info pages don't mention a switch or parameter to send the password to it. Yes, I need to run etherape as root.
Iolair MacWalter
Director of IT
su /sbin/etherape &
But the man and info pages don't mention a switch or parameter to send the password to it. Yes, I need to run etherape as root.
Iolair MacWalter
Director of IT