On 10/21/06 10:33 PM, "Sarah Reichelt" <[EMAIL PROTECTED]> wrote:

> put "#!/bin/sh" & cr into tScript
> put "pw=" & quote & tPass & quote & cr after tScript
> put "echo $pw | sudo -S - postgres" & cr after tScript
> put "/usr/local/bin/postmaster -D /usr/local/pgsql/data -i" & cr after tScript
> put shell(tScript) into tCheck


This is the result
sudo: '-' requires an argument
usage: sudo -K | -L | -V | -h | -k | -l | -v
usage: sudo [-HPSb] [-p prompt] [-u username|#uid]
            { -e file [...] | -i | -s | <command> }
postmaster cannot access the server configuration file
"/usr/local/pgsql/data/postgresql.conf": Permission denied

Thanks, Hershel

_______________________________________________
use-revolution mailing list
[email protected]
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution

Reply via email to