SLiM is a fantastic functional and lightweight display manager.
One minor downside is that shutting down, rebooting, or suspending the system from the SLiM login prompt requires entering the root password. This is not ideal for a number of cases, in particular since logged-in users are typically allowed to reboot the machine without a password over D-Bus.
Here is a patch that adds a
power_auth configuration flag,
optionally allowing SLiM to bypass the password requirement for
commands. The flag's default is on which leaves SLiM
unchanged by default, still requiring authentication.
Patch 20150104 for SLiM 1.3.6: download, signature
Git repository is here: https://gitlab.com/khumba/slim.git (browse the power-auth branch)