I see that you've found a solution to your original query. However,
I'd just like to comment on a general script technique. Especially
when executing programs with a security aspect, such as su, it's a
very good idea to give the entire absolute path to the program,
e.g., instead of just 'su', '/bin/su'.
(Moreover, paranoid--read experienced--sysadmins do the same thing from
the console (ssh, whatever) whenever issuing commands while running
privileged...)
Cheers,
--
Dave Ihnat
[EMAIL PROTECTED]
--
redhat-list mailing list
unsubscribe mailto:[EMAIL PROTECTED]
https://www.redhat.com/mailman/listinfo/redhat-list