I have my laptop setup for suspend to ram when the lid is closed.
In /etc/ecpi/acpi_handler.sh I have a line
case "$2" in
power) /sbin/init 0
Using 'visudo' I have a line under User privilege specification
<username> ALL = NOPASSWD: /usr/sbin/pm-suspend
Also, the user has been made a member of the 'power' group.
In KDE, I have the power management set so that closing the lid does nothing.
Thanks to rworkman, Slackware now has pm-utils!