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.
Hi, I must have missed a couple of posts as I don't remember seeing a solution for shutdown/restart
I sure did.
Quote:
Originally Posted by dive
For 1) Are you in power group?
Quote:
Originally Posted by T3slider
For shutdown/restarting you must be a member of the power group and you must be in runlevel 4, not 3. I'm not sure if it would work or not as root -- it is using HAL, so you cannot assume that everything will work for root...root would likely have to be added to the power group as well.
Quote:
Originally Posted by rkelsen
This has nothing to do with the root account. You were asked if your user account was in the 'power' group.
Quote:
Originally Posted by Alien Bob
"1) Are you in power group?". Because, if your account is not in the "power" group, the shutdown button of your desktop manager will not work.
The "groups" output you posted for your 13.0 installation tells you why it is working there: the "power" group is listed.
That confirms that the problem is exactly what we've been pointing out once per post. Here's the solution.
Enter the following when you're logged in as root, then log out and log in as siawacsh. If you became root by using su or sudo, then log out as siawacsh and log back in as siawacsh.
Code:
gpasswd -a siawacsh power
After you've done so, post your groups output and tell us if the shutdown and restart buttons have started working.
BTW (and this is not necessarily addressed to siawash), I wasn't aware that you could use sudo from a user account that isn't a member of the wheel group.
Guys, we are talking about skackware 13.1 which I am not using right now. My current system is Slackware 13.0 which has not given the described problems. So I am not clear why your asking me to go through
Code:
gpasswd -a siawacsh power
Unless you mean I should carry out this whenever I reinstall slack 13.1
The reason I use sudo is to give the user siawacsh privilages which the root has. I do this by adding siawacsh sudoers file. For this very reason I always believed sudo and su are distinctly different. The latter logs the user as root and the former just avails the user root privilages. You seem to be indicating that I am wrong in this assumption. Can anyone explain?
Code:
# User privilege specification
root ALL=(ALL) ALL
siawacsh ALL=(ALL) ALL
Dugan, where in the output of the groups command output does it indicate power?
Code:
siawacsh@redeemer:~$ groups
users floppy audio video cdrom plugdev
siawacsh@redeemer:~$
Hello, I think we are talking past each other despite our efforts to help each other. You see, I have been saying there are no systemic problems with my current slackware 13.0. Which is why I have been asking about the command
Code:
gpasswd -a power
It does not show power yet is working fine. All shutdown restart buttons work. Unless, this is procedure for the future 13.1 install.If so, that means slack 13.1 install & configuration has changed. Because I did not have to do any of this up to now.
Unless, this is procedure for the future 13.1 install.
Yes.
"HAL is not new anymore, but here are a few notes related to it:
...
2. User accounts with permission to do power-management tasks, such as suspend, hibernate, reboot, and shutdown, via HAL methods should be in the "power" group."
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.