pymumu / jail-shell

Jail-shell is a linux security tool mainly using chroot, namespaces technologies, limiting users to perform specific commands, and access sepcific directories.
GNU General Public License v2.0
116 stars 20 forks source link

allow jail user to restart services #13

Closed aespadaeraalei closed 3 years ago

aespadaeraalei commented 3 years ago

Hello,

Thank you for providing this project.

Having security concerns what is the best way to provide the jail user permission to restart a specific service inside jail?

Thank you

pymumu commented 3 years ago

add a shell command, and bind the command in jail

cmd /some/user/command /some/user/command user:user