Linode Forum
Linode Community Forums
 FAQFAQ    SearchSearch    MembersMembers      Register Register 
 LoginLogin [ Anonymous ] 
Post new topic  Reply to topic
Author Message
PostPosted: Thu Mar 07, 2013 1:28 pm 
Offline
Junior Member

Joined: Fri Jan 02, 2009 9:11 am
Posts: 36
I am trying to script the deployment of an application but I need to restart a service running under ubuntu upstart which requires you to run it as sudo. Is there a way to restart a service controlled by upstart without being a sudo user?


Top
   
PostPosted: Thu Mar 07, 2013 6:15 pm 
Offline
Senior Member
User avatar

Joined: Wed Mar 17, 2004 4:11 pm
Posts: 554
Website: http://www.unixtastic.com
Location: Europe
ollietrex wrote:
I am trying to script the deployment of an application but I need to restart a service running under ubuntu upstart which requires you to run it as sudo. Is there a way to restart a service controlled by upstart without being a sudo user?


I don't think so. But you can setup your sudoers so that the user who needs to restart the service can run only that restart script as root, and do so without entering a password.


Top
   
Display posts from previous:  Sort by  
Post new topic  Reply to topic


Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
Jump to:  
RSS

Powered by phpBB® Forum Software © phpBB Group