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.