please(1) | User Manual | please(1) |
please - a tool for access elevation.
please /bin/bash
pleaseedit /etc/fstab
pleaseedit [-r/--reason "new fs"] /etc/fstab
pleaseedit [-g/--group groupname] filename
pleaseedit [-t/--target username] filename
please [-a/--allowenv list]
please [-c/--check] /etc/please.ini
please [-d/--dir directory] command
please [-e/--env environment] command
please [-g/--group groupname] command
please [-h/--help]
please [-t/--target username] backup tar -cvf - /home/data | ...
please [-u/--user username] backup tar -cvf - /home/data | ...
please [-l/--list]
please [-l/--list] [-t/--target username]
please [-l/--list] [-u/--user username]
please [-n/--noprompt] command
please [-r/--reason "sshd reconfigured, ticket 24365"] /etc/init.d/ssh restart
please [-p/--purge]
please [-w/--warm]
please and pleaseedit are sudo alternatives that have regex support and a simple approach to ACL.
The aim is to allow admins to delegate accurate principle of least privilege access with ease. please.ini allows for very specific and flexible regex defined permissions.
pleaseedit adds a layer of safety to editing files. The file is copied to /tmp, where it can be updated. When EDITOR exits cleanly the file is copied alongside the target, the file will then be renamed over the original, but if a exitcmd is configured it must exit cleanly first.
Please see please.ini for configuration examples.
/etc/please.ini
I welcome pull requests with open arms. New features always considered.
Found a bug? Please either open a ticket or send a pull request/patch.
Ed Neville (ed-please@s5h.net).
10 June 2022 | please 0.5.3 |