Non-interactive command whitelisted shell

rcsh

Non-interactive command whitelisted shell

This is a work-in-progress little script intended to be used as a shell for Linux user accounts which are allowed to run a limited set of commands over SSH non-interactively and nothing else. The commands which are allowed are based on a whitelist of exact command invocation strings and/or a list of regular expressions which they should match.

Features

• Allow execution of commands based on an exact or regular expression whitelist

Credits

This package was inspired by lshell and bdsh:

History

0.1.0 (2017-03-01)

• First release on PyPI.

0.2.0 (2017-03-18)

• An actually functional release on PyPI.
• Some unittesting
• Some documentation

0.2.1 (2017-03-20)

• Fixed typo in configuration option

0.2.2 (2017-03-20)

• Removed redundant print statement

0.2.3 (2017-03-20)

• Fixed some python2 timeout logic bug

Project details

Uploaded source