Hardening #9
Replies: 2 comments 3 replies
-
Isn't the |
Beta Was this translation helpful? Give feedback.
-
in my opinion, hardening on user is overkill. what is crucial to handle is the privilege escalation case (e.g. sudo access). for the rest, if you don't trust the user so don't create it :) There are several solutions aiming to restrict or jail users like rbash and lshell and all fail because generic purpose solution cannot work with security, only very specific tools like smrsh or rssh can work. Here you can protect bash history file as much as you want, while your user has a true shell so he ca simply define so, in short, I would not invest too much time in this because it is doomed to fail. Especially when direct access to resources should be avoided as much as possible (pet vs cattle). It seems better to not give access to an instance but instead provide rich tooling to fully delete this need (log access from kibana, real time metrics, ci/cd ..) |
Beta Was this translation helpful? Give feedback.
-
Hello,
Here is an issue to talk about users hardening.
I think that we should add this in profile :
Do you have other suggestions?
Beta Was this translation helpful? Give feedback.
All reactions