Tsundere wrapper for sudo command.
Project description
tsudo
Tsundere wrapper for sudo command.
Spice up your sudo password prompt with cute remarks. Hand-picked from most famous characters and internet memes. Also, you can add your own currated list of insults (in the future).
Installation
$ pip install tsudo --user
Enable sudo insults
Uncomment this line from your sudoers file
# Defaults insults
Enable credential caching
sudoers uses per-user time stamp files for credential caching. Once a user has been authenticated, a record is written containing the user ID that was used to authenticate, the terminal session ID, the start time of the session leader (or parent process) and a time stamp (using a monotonic clock if one is available).
Since pexpect spawn another child process using pty, each tsudo call will
have different credentials. However, you can still use another tty creds by
turning off tty_tickets.
Add this line to your sudoers file
Defaults !tty_tickets
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file tsudo-0.0.5.tar.gz.
File metadata
- Download URL: tsudo-0.0.5.tar.gz
- Upload date:
- Size: 3.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.11.0 pkginfo/1.4.2 requests/2.19.1 setuptools/40.0.0 requests-toolbelt/0.8.0 tqdm/4.24.0 CPython/3.6.5
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
92efe6466d05677389eca2bca1b99e6ffdcaa89535b29aafb2a17dc222e12f9a
|
|
| MD5 |
13b945386bffda1c345a01a3f0f5edd6
|
|
| BLAKE2b-256 |
74ed9cda920412de950cd061dac96cf7f54f52dfdba6408b43bf654d0b5a9040
|
File details
Details for the file tsudo-0.0.5-py3-none-any.whl.
File metadata
- Download URL: tsudo-0.0.5-py3-none-any.whl
- Upload date:
- Size: 3.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.11.0 pkginfo/1.4.2 requests/2.19.1 setuptools/40.0.0 requests-toolbelt/0.8.0 tqdm/4.24.0 CPython/3.6.5
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
985ecb9b6d4ec8b6a1785fb87f6f29c21b6f92e0ee3063cfce7d10cf4ebf68b7
|
|
| MD5 |
7cec2a8847d4d8172f55c700d5e624a0
|
|
| BLAKE2b-256 |
6773f64f693b513791b749bcf3d522ca55c1ae9c5d672f0077bcf36351c81de7
|