Skip to main content

Library to manage ProFTPD.

Project description

python3-cyberfusion-proftpd-support

Library to manage ProFTPD.

At the moment, this library allows you to create auto-expiring ProFTPD users (stored in an SQLite database).

Install

PyPI

Run the following command to install the package from PyPI:

pip3 install python3-cyberfusion-proftpd-support

Debian

Run the following commands to build a Debian package:

mk-build-deps -i -t 'apt -o Debug::pkgProblemResolver=yes --no-install-recommends -y'
dpkg-buildpackage -us -uc

Configure

Place settings in /etc/proftpd-support.conf (regular text file).

All settings must be prefixed with PROFTPD_SUPPORT_.

Find all available settings in settings.py.

Find an example config in .env.local.

Usage

from cyberfusion.ProftpdSupport.users import create_proftpd_user

user = create_proftpd_user(
    username="example",
    password="example",
    uid=1000,
    gid=1000,
    home_directory="/home/example",
)

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

python3_cyberfusion_proftpd_support-1.0.tar.gz (3.0 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

File details

Details for the file python3_cyberfusion_proftpd_support-1.0.tar.gz.

File metadata

File hashes

Hashes for python3_cyberfusion_proftpd_support-1.0.tar.gz
Algorithm Hash digest
SHA256 38fb99012ead39c4bd77391a73fd894a9ed227f3c9d28b7a1198814f4d735497
MD5 66c6f812de490ec4bfddf326c4ef0017
BLAKE2b-256 ec60aec8ee9d5229527f656c561217276357608e8221dea7de03a72c024c0ee5

See more details on using hashes here.

File details

Details for the file python3_cyberfusion_proftpd_support-1.0-py3-none-any.whl.

File metadata

File hashes

Hashes for python3_cyberfusion_proftpd_support-1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 38c1debcc470c9643e17f99298e4d03286cf3228c7f3e1916e45119f9a16d81b
MD5 182565f93529320bfde6d8f5463364f6
BLAKE2b-256 7cbc3ff547276a77e621ebee01b2a9ea587499fd8dc752830fcaff395be44a9d

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