SSH configuration not up to the evolix standard #23

Closed
opened 2019-09-18 16:12:58 +02:00 by Ghost · 6 comments

An access whitelist should be present, either based on AllowGroups or AllowUsers.

An access whitelist should be present, either based on AllowGroups or AllowUsers.
Author

That's right!

At first, it wasn't needed since on the OpenBSD machines the only Unix accounts were the system administrators one.

Now, some of the machines we're taking care of have other Unix accounts which are not supposed to connect through SSH.

That's right! At first, it wasn't needed since on the OpenBSD machines the only Unix accounts were the system administrators one. Now, some of the machines we're taking care of have other Unix accounts which are not supposed to connect through SSH.
Author

I will port the evolinux-users role. I have experience from optimising the linux version in evolix/ansible-roles#78.

I believe we only need to support adding new users to an existing AllowUsers statement, new groups to an existing AllowGroups statement or creating the AllowGroups statement. I do not think there is a case where we would want to create an AllowUsers statement if one is not already in use, am I right ?

I will port the evolinux-users role. I have experience from optimising the linux version in https://gitea.evolix.org/evolix/ansible-roles/pulls/78. I believe we only need to support adding new users to an existing AllowUsers statement, new groups to an existing AllowGroups statement or creating the AllowGroups statement. I do not think there is a case where we would want to create an AllowUsers statement if one is not already in use, am I right ?
Author

Good to know! I didn't look over the changes you made though.

I agree with you, but I'm not even sure we should add an AllowGroups statement on a system already in production unless we're sure it won't cause unpredicted side effects. For instance on the Evolix firewalls/routers.

Good to know! I didn't look over the changes you made though. I agree with you, but I'm not even sure we should add an AllowGroups statement on a system already in production unless we're sure it won't cause unpredicted side effects. For instance on the Evolix firewalls/routers.
Author

We dont generally run the evolixisation playbook on production systems though ? And tags make it possible to ignore certain tasks if we ever need to.

We dont generally run the evolixisation playbook on production systems though ? And tags make it possible to ignore certain tasks if we ever need to.
Author

See pull request #26

See pull request #26
Author

This should be closed by #26

This should be closed by #26
Ghost closed this issue 2020-04-23 17:23:33 +02:00
Sign in to join this conversation.
No labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: evolix/EvoBSD#23
No description provided.