On Tuesday 26 June 2012 19:56:10 Varghese Renny wrote:
> My system user is sigma.but i am running jenkins on tomcat6 user and
> tomcat6 group. So which user i have to specify in sudeors file.
> Thanks
then you have to grand sudo for tomcat6 user, as the build process runs under
this user (if you
My system user is sigma.but i am running jenkins on tomcat6 user and
tomcat6 group. So which user i have to specify in sudeors file.
Thanks
>
>
On Tuesday 26 June 2012 06:28:29 Varghese Renny wrote:
> Hi,
>
> sudo: sorry, you must have a tty to run sudo
>
> What to do for this erro?
comment Defaultsrequiretty :-)
if you are getting
sudo: no tty present and no askpass program specified
make sure, that it run under sigma user. If you
Hi,
sudo: sorry, you must have a tty to run sudo
What to do for this erro?
make sure that in /etc/sudoers this line is commented out
#Defaultsrequiretty
On Tuesday 26 June 2012 05:57:41 Varghese Renny wrote:
> #!/bin/sh
> pid=$(pidof postgres)
> echo $pid
> sudo kill $pid
> pg_ctlcluster 8.4 main start
>
>
> This script is just for killing processid using postgres
#!/bin/sh
pid=$(pidof postgres)
echo $pid
sudo kill $pid
pg_ctlcluster 8.4 main start
This script is just for killing processid using postgres database.
This is not working inside jenkins..
Error showing is
sudo: no tty present and no askpass program specified
sudo: no tty present and no askp