I'd like to run an elementary script with joeuser permissions but switch to root for a couple of lines and then switch back to joeuser. I've found that su runs in a script and prompts for a password (of course:). Could someone please show me the syntax for providing the password to su as part of the script?
Thankyou. R _______________________________________________ Linux-users mailing list Archives, Digests, etc at http://linux.nf/mailman/listinfo/linux-users