Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Sudo access? #35

Closed
jeremymturner opened this issue Feb 14, 2018 · 3 comments
Closed

Sudo access? #35

jeremymturner opened this issue Feb 14, 2018 · 3 comments

Comments

@jeremymturner
Copy link

Looks great! I was able to test successfully on an Ubuntu EC2 instance.

One feature I am looking to have is sudo access. One thought would be:

  1. If user is a member of group ssh-sudoers, we create /etc/sudoers.d/ and not prompt them for a password, since they do not have one.
  2. If user is a member of group ssh-users, the keymaker works as it does today.

Today, it would help me just to have #1, give all users sudo access.

@kislyuk
Copy link
Owner

kislyuk commented Feb 14, 2018

If you look at https://github.com/kislyuk/keymaker#principle-of-operation, it mentions a system for synchronizing IAM group membership with Unix group membership. The specific IAM group that you need to create and add the user to in this case is keymaker_sudo. This should add the user to the Unix group sudo, which on Ubuntu grants sudo privileges.

@jeremymturner
Copy link
Author

Ahh... you are so kind. I deserved an RTFM for that. Thanks so much and great work on this!

@kislyuk
Copy link
Owner

kislyuk commented Feb 15, 2018 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants