Re: Running Script as root using Sudo
Re: Running Script as root using Sudo
- Subject: Re: Running Script as root using Sudo
- From: garbanzito <email@hidden>
- Date: Wed, 27 Feb 2002 11:02:16 -0700
at 2002 02 27, 08:31 -0600, they whom i call Chris Prew wrote:
Has anyone been able to get sudo to run from a script using stdin for the
password
discussed many times in the archives...
do shell script "echo password | sudo -S command"
or
do shell script "sudo -S command <password.txt"
--
steve harley email@hidden
_______________________________________________
applescript-users mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/applescript-users
Do not post admin requests to the list. They will be ignored.