This all works fine when the script is executed by root, but otherwise, I
am prompted for the user password. These particular user passwords are
static; they do not change, and are used by foreign automated processes.
Assuming that I compress the user passwords for security, is there a way
for my script to supply the password without user intervention?
In other words, I want my user to be able to invoke the script with a
particular user an an argument, and have the script automatically su to
the user named by the argument, and supply the password (or bypass it
altogether.) I do not want for real people users to know these
passwords...
Thanks in advance,
Todd
(remove the xxx from my email if you prefer to respond privately)
-----= Posted via Newsfeeds.Com, Uncensored Usenet News =-----
http://www.newsfeeds.com - The #1 Newsgroup Service in the World!
-----== Over 80,000 Newsgroups - 16 Different Servers! =-----
"Todd Goldsmith" <todd.go...@xxx.fiserv.xxx.xom> wrote in message
news:MPG.13d3e1a58...@goliath.usenet-access.com...
I'm looking at sudo right now, but I'm not sure it's gonna do it for me.
sudo wants me to issue my own password, which still defeats the
automation that I am atempting to achieve.
Know anything about sudo?
TIA,
Todd
In article <hPta5.252$TW.5...@nnrp3.sbc.net>, b-...@swbell.net says...