Greetings,

I am wondering if there is a way to su to another user and pass the password 
to be read from a shell script?


I   think the command  may be of the form:- 

su  - otheruser  -c " some-command | some-command2  --stdin 
password-for-otheruser"


suggestions welcome

cheers
lux-integ
-- 
http://linuxfromscratch.org/mailman/listinfo/blfs-support
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page

Reply via email to