Quantcast
Channel: linuxadmin: Expanding Linux SysAdmin knowledge
Viewing all articles
Browse latest Browse all 17917

Sudo All excluding Shell?

$
0
0

In an attempt to secure my production environment, i've recently introduced more secure sudo access. Up until recently, all users could use sudo without restriction, including shell access. I changed this to an approved list of commands that can be run with sudo, with the sole intention of preventing shell access. This is proving unmanageable, as i'm having to add commands to the list on a daily basis.

I would prefer to have an exclusion list, primarily to prevent root shell access through sudo. I would like to allow all other commands to be allowed. Does anyone have any experience with this type of setup? Is it even possible?

edit: You've all been tremendously helpful. To be honest i feel like an idiot. My new goal is to strive to remove a need for sudo at all. Thanks!

submitted by na641
[link][32 comments]

Viewing all articles
Browse latest Browse all 17917

Latest Images

Trending Articles



Latest Images