SlackwareThis Forum is for the discussion of Slackware Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Is the only remaining solution to use sudo, other than manually changing permissions on the shutdown executable?
yes.
I am unsure what the power group actually does on slackware so I am at a loss to answer that question but the only way that I am aware of is to allow the user to use sudo to shutdown the machine. You can limit there use of sudo for only this task however instead of giving every user access to everything via sudo, which IMHO I do not understand why distros allow all users access to everything via sudo. Seams like a bad idea from a security standpoint.
If you are at runlevel 4, kdm will let you shut down/poweroff the machine. You don't have to be root (in fact, you aren't anyone since you aren't logged in).
In case anyone using XFCE is wondering about this, adding a user to the power group in Slackware will allow regular users to shutdown the computer from the desktop in XFCE. I forget why exactly this does not work in KDE.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.