Skip to content

ionelmc/python-su

Repository files navigation

Overview

tests GitHub Actions Build Status
package PyPI Package latest release PyPI Wheel Supported versions Supported implementations Commits since latest release

Simple Python-based setuid+setgid+setgroups+exec. A port of https://github.com/tianon/gosu

  • Free software: BSD 2-Clause License

Installation

pip install pysu

You can also install the in-development version with:

pip install https://github.com/ionelmc/python-su/archive/master.zip

Documentation

Usage: pysu [-h] user[:group] command

Change user and exec command.

positional arguments:
user command
optional arguments:
-h, --help show this help message and exit

Development

To run all the tests run:

tox

Note, to combine the coverage data from all the tox environments run:

Windows
set PYTEST_ADDOPTS=--cov-append
tox
Other
PYTEST_ADDOPTS=--cov-append tox

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Packages

No packages published