On 04/07/2009, at 21:44, Sandeep Bhaskar wrote:
> We were able to create user and rectify problems in gnowsys.info  
> file. But
> we are facing an issue in running a shell script. This script needs  
> to be
> executed from the user postgres(postgresql user). The command within  
> shell
> is like:
>
> su postgres -c ./gnowsys-pg-install.sh
>
> This line throws an error as Access Denied. Can you please suggest  
> some way
> that we can switch to postgres user and execute the shell.
>
> This is the only remaining issue and hope to hear a quick response  
> to the
> same.


Please provide more information:

* What Fink command were you running when you got that error?
* Is the passwd package a build dependency of your package?
* Where exactly are you issuing that su command (CompileScript,  
InstallScript, PostInstScript, ...)?


Cheers,

--
monipol
http://finkers.wordpress.com

Submitting a Fink bug report? Read this:
http://www.finkproject.org/doc/netiquette/index.php
http://finkers.wordpress.com/2009/06/03/bug-reports/


------------------------------------------------------------------------------
_______________________________________________
Fink-devel mailing list
[email protected]
http://news.gmane.org/gmane.os.apple.fink.devel

Reply via email to