pysu 1.0.1

Last updated:

0 purchases

pysu 1.0.1 Image
pysu 1.0.1 Images
Add to Cart

Description:

pysu 1.0.1

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






Changelog

1.0.1 (2024-05-08)

Removed debug print.



1.0.0 (2024-04-12)

Dropped support for old Pythons. Minium supported version is 3.8.
Improved error handling and reporting.
Increased compatibility with gosu.



0.2.0 (2016-05-06)

Allow using “:group” as argument, just like gosu (it will use the current user, but with the given group).



0.1.0 (2016-04-19)

First release on PyPI.

License:

For personal and professional use. You cannot resell or redistribute these repositories in their original state.

Customer Reviews

There are no reviews.