Skip to main content

Non-interactive command whitelisted shell

Project description

rcsh

https://img.shields.io/pypi/v/rcsh.svg https://img.shields.io/travis/SafPlusPlus/rcsh.svg Documentation Status Updates https://codecov.io/gh/SafPlusPlus/rcsh/branch/master/graph/badge.svg

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

  • Log invocation using syslog’s LOG_AUTH facilities

Credits

This package was inspired by lshell and bdsh:

This package was created with Cookiecutter and the audreyr/cookiecutter-pypackage project template.

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

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

rcsh-0.2.1.tar.gz (14.7 kB view hashes)

Uploaded source

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Huawei Huawei PSF Sponsor Microsoft Microsoft PSF Sponsor NVIDIA NVIDIA PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page