-
Notifications
You must be signed in to change notification settings - Fork 72
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
Allow aker to login as root #79
Comments
Hi @HOSTED-POWER |
Hello Anazmy, Thanks for your feedback, however this is very unfortunate for our use case where we absolutely don't want to add extra users to all of our systems for each user that log's into aker. I see it could be done in the past, I really hope you could make it working again or this otherwise great looking tool becomes completely unusable for us :( |
For some reason I didn't get an email update on last reply. I think you are referring to the code before introducing user/host groups but now with proper segregation between entities such approach wont be possible, and like I mentioned it's counter intuitive for accountability as well. If you want you can try changing the
|
I really appreciate your work and effort, but we don't like to depend on code patching. I think supporting this by some parameter would still be the most flexible option for everyone. It couldn't be that hard and it would be fantastic if we could use your tool! Please keep in mind that not all people have the same use cases and setups in mind. Could you imagine a large support team with 200 people. That would create multiple homes for all the staff which logs in I suppose? Not something one would like with a big team. Furthermore we just want simple login as root and just keep it as simple as possible. I think the old method would have been perfect for us. Is there anything we could do to get it supported? (I.e. some funding or code patches - although we're not familiar with python, so that would be quite hard) |
Many thanks @HOSTED-POWER for your interest in the project. IMHO, the access-as-root or even as another user is not a secure practice and will not be added to Aker. Sorry for that. And thanks for your offer for the support. Currently, there no funding options for the project. |
Thanks for your reply, but just trying to understand: if I use freeipa, wouldn't it create users and at least home folders for each user using aker on each system one tries to login? Or would it allow for root login? |
You can use FreeIPA in two ways. 1- Have home directories of users automatically created/mounted upon login, that will be a local homedir different on each server. AFAIU the second option is what you're looking for. logging in as root is not an option that FreeIPA facilitates. |
The other option, which again, is NOT recommended (security reasons, blablabla), is add the user to sudoers file, and add to .bashrc "exec sudo -i" to automatically sudo to root upon login. |
Hello Ramshield, Thanks a lot for the hint! :) We now put the whole idea on hold because it's not possible with Aker to provide root as default login with a key. A bit unfortunate since we would really like to use Aker :| |
Hi, We had the same issue, hence we came up with that solution. Works great, I suggest try it, because Aker really improved the quality of our lives managing a bunch of servers! |
Thanks for your feedback regarding the experience with Aker, that sounds very nice! I'm also very happy we're not the only one requiring this useful feature :) In our case we really prefer working with open source products (and paid products) where at least we can have some additional features when needed (fully) supported inside the product... I'm aware this is not always easy and you cannot satisfy everyone, but we're a bit disappointed that this, for us, extremely important feature won't be supported at all. Even more so because at first sight I think it wouldn't be too hard to support it with the clearly outstanding programming skills of the developers of this project! |
We currently setup aker, but we want the connecting user to be root and not the username who logged into aker. How would this be configured in aker.json?
We tried "username": "root", to the hosts definition, but it still uses the username.
PS: It would be even better if we could set root for all hosts as a default.
The text was updated successfully, but these errors were encountered: