Page MenuHomePhabricator

ssh as system users not allowed in labs
Closed, ResolvedPublic

Description

scap3 uses puppetized system users and keyholder to do deployments. The local posix user and the ssh keys are all managed by puppet.

However, labs has special pam settings that keep ANY users not in the labs project from sshing. deployment-prep gets around this by adding exceptions for individual system users that need to be able to deploy.

This is not ideal, because it complicates the process of setting up new deployment targets and users in any labs project. It would be nice if systemusers with properly configured keys were allowed to ssh, even if they aren't in the labs project group.

Event Timeline

Ottomata raised the priority of this task from to Needs Triage.
Ottomata updated the task description. (Show Details)
Ottomata added a project: Cloud-Services.
Ottomata added subscribers: Ottomata, bd808, thcipriani and 2 others.
mmodell triaged this task as Medium priority.May 3 2016, 7:56 PM
mmodell added a project: Scap.
mmodell subscribed.

I'm going to figure out how to manage this from scap::target

Change 286754 had a related patch set uploaded (by 20after4):
Add beta-specific access.conf exceptions in scap::target

https://gerrit.wikimedia.org/r/286754

Change 286754 merged by Rush:
Add beta-specific access.conf exceptions in scap::target

https://gerrit.wikimedia.org/r/286754

seems to be working. deployment-tin crashed and burned right around the same time as this patch merged but it seems to be unrelated.

Change 286852 had a related patch set uploaded (by Rush):
scap access.conf entries for labs deployments

https://gerrit.wikimedia.org/r/286852

Change 286852 merged by Rush:
scap access.conf entries for labs deployments

https://gerrit.wikimedia.org/r/286852

Change 313903 had a related patch set uploaded (by Andrew Bogott):
Remove beta::deployaccess as it's no longer needed.

https://gerrit.wikimedia.org/r/313903

Change 313903 merged by Andrew Bogott:
Remove beta::deployaccess as it's no longer needed.

https://gerrit.wikimedia.org/r/313903