Stop adding SSH keys to root user #34

Closed
opened 2019-11-28 10:20:33 +00:00 by graffen · 3 comments
Contributor

Users should just sudo instead of logging in as root.

Users should just `sudo` instead of logging in as root.
Owner

I had the same thought! Or at the very least it should only do so if the user is in the sudo group.

I had the same thought! Or at the very least it should only do so if the user is in the `sudo` group.
Author
Contributor

@reynir I think I actually prefer that the root user isn't accessible by SSH at all. If you need a root prompt and you're in the sudo group you can always sudo -i and go from there. No-one should need to log in remotely as root IMO.

@reynir I think I actually prefer that the `root` user isn't accessible by SSH at all. If you need a root prompt and you're in the `sudo` group you can always `sudo -i` and go from there. No-one _should_ need to log in remotely as `root` IMO.
Owner

Yea, me too.

Anyway, #35 fixes that.

Yea, me too. Anyway, https://git.data.coop/data.coop/ansible/pulls/35 fixes that.
Sign in to join this conversation.
No description provided.