Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8976947
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 15, 20262026-06-15T19:15:45+00:00 2026-06-15T19:15:45+00:00

I work with Rails and deploy applications to servers using Capistrano. I have a

  • 0

I work with Rails and deploy applications to servers using Capistrano. I have a Jenkins server (on my own linode).

What I’d like to know is how to setup a contractor so they have enough access to get work done and use the tools I have (like Jenkins), but not allow them to cause any critical damage.

The workflow might be as so:

  • Commit changes to private git repo
  • Deploy to Jenkins
  • Deploy changes to staging server (my linode)
  • Deploy changes to live server (client’s linode)

I use SSH for everything, but I’m wondering if I might be allowing users too much access in that they might be able to run sudo commands and change user passwords and bypass the SSH key/pair auth. Should each user have a limited Linux user account (maybe share the same limited account), and add their SSH key(s) to that?

My other question is, can I deploy to staging/live servers with Jenkins, and so only grant access to those servers from my Jenkins server?

Can I do all this by only allowing developers access to the git repo? Jenkins tracks that, then deploys to staging/live?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-15T19:15:47+00:00Added an answer on June 15, 2026 at 7:15 pm

    Basically, i think the apporach should be the next.

    1. Setup jenkins to run test after commit is pushed done to gitolite or whatever you use, and email about results everybody.
    2. Allow contractors to deploy to staging – since they need to do testing.
    3. Only you can deploy to production.

    Also you shouldn’t give them sudo on staging machine. Just setup a deployment role which gives access to the directory with code. Because you even’don’t need do server restarts if you use passenger(just use touch %RAILS_ROOT%/tmp/restart.txt , if you know what i mean) And setup the ruby env via rvm

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I am using capistrano to deploy my rails application. I want to override the
I'm using Capistrano to deploy a Rails application on a staging environment. cap deploy:update
I am using capistrano to deploy a rails application to production. Everything appears to
I am using rails and capistrano with a staging and production server. I need
I'd like to work with rails-api gem special to create API-only application. To provide
I am just beginning to work with Rails. I have a model, User and
I'm doing maintenance work on a Rails site that's deployed using Phusion Passenger .
I am using Ruby on Rails 3.0.9 and I would like to seed the
I'm deploying a Ruby on Rails and NodeJS application using Capistrano. The uploads folder
I'm trying to deploy a small rails3 app to a FreeBSD host using capistrano

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.