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

0.2.2 (2017-03-20)

  • Removed redundant print statement

0.2.3 (2017-03-20)

  • Fixed some python2 timeout logic bug

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.3.tar.gz (14.8 kB view details)

Uploaded Source

File details

Details for the file rcsh-0.2.3.tar.gz.

File metadata

  • Download URL: rcsh-0.2.3.tar.gz
  • Upload date:
  • Size: 14.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for rcsh-0.2.3.tar.gz
Algorithm Hash digest
SHA256 4f4928cf162fa5c55d8391a30863915d720ae15ea197823a095581435991631f
MD5 49696f0c421f7592417013493846955b
BLAKE2b-256 55aaf5ea3c3e38ba8e9ff61df6275aae1ef64eb1a458a4868e576981d28e2338

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page