'Please' aims to be little sudo without bells and whistles. Only pam authentication and executing command.
Name please fits into unix naming conventions. Where we have daemon instead of background process. We are killing processes, not closing processes. Now we can please to run privileged process.
Reboot system by unprivileged user:
$ please reboot
To get a file listing of an unreadable directory:
$ please ls /usr/local/protected
Run a root shell:
$ please -
- Install git, compiler and libpam-dev: apt-get install git build-essential libpam0g-dev
- Clone repository: git clone https://github.com/gblach/please.git
- Build and install: make && make install
- Install (and edit) pam rules: cp pam.d/please.Debian /etc/pam.d/please
- Install git, compiler and pam-devel: dnf install git gcc pam-devel
- Clone repository: git clone https://github.com/gblach/please.git
- Build and install: make && make install
- Install (and edit) pam rules: cp pam.d/please.Fedora /etc/pam.d/please
- Install git, compiler and pam-devel: zypper install git gcc make pam-devel
- Clone repository: git clone https://github.com/gblach/please.git
- Build and install: make && make install
- Install (and edit) pam rules: cp pam.d/please.openSUSE /etc/pam.d/please
pkg install please
- Install git: pkg install git or make install clean -C /usr/ports/devel/git
- Clone repository: git clone https://github.com/gblach/please.git
- Build and install: make && make install
- Install (and edit) pam rules: cp pam.d/please.FreeBSD /usr/local/etc/pam.d/please