Hi, Please find the additional information you requested for. Please do let me know if anything more is required.
* What Fink command were you running when you got that error? *fink -m -K --build-as-nobody rebuild gnowsys * * Is the passwd package a build dependency of your package? *The user creation issue we have already sorted out. Right now, our only issue is in using of su command. * * Where exactly are you issuing that su command (CompileScript, InstallScript, PostInstScript, ...)? *The InstallScript section within gnowsys.info file contains: *InstallScript: << sh install.sh %i %b %d %p <<* The command su postgres -c ./gnowsys-pg-install.sh* *is called from within this install.sh and not directly from within the .info file. *Thanks for your help, Sandeep Bhaskar On Sun, Jul 5, 2009 at 6:02 PM, monipol <[email protected]> wrote: > 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
