Logout

Share your ideas, questions or suggestions with us here.

Logout

Postby udom » Wed Oct 18, 2017 3:26 pm

I love openbox. Seems there are fewer distros offering it all the time so I'm really happy to find it in Ghost. One small question, I'm trying to enable normal user to use a logout app. Tried various solutions without success. Which file do I edit to give normal user permissions to execute shutdown, reboot?
udom
 
Posts: 1
Joined: Wed Oct 18, 2017 3:08 pm
Has thanked: 0 time
Been thanked: 0 time

Logout


Re: Logout

Postby ASX » Wed Oct 18, 2017 4:00 pm

udom wrote:I love openbox. Seems there are fewer distros offering it all the time so I'm really happy to find it in Ghost. One small question, I'm trying to enable normal user to use a logout app. Tried various solutions without success. Which file do I edit to give normal user permissions to execute shutdown, reboot?


Hi,

you can use "sudo" or "doas", both can be configured to start specific commands (and specific users or groups) without requiring the root password
Check the respective manpages, and the related configuration files.

or, you can set the "suid" bit on a shell script that will execute shutdown, but it is considered bad practice (unsecure).

Pick your preferred one, depending on your requirements. ;)
ASX
 
Posts: 988
Joined: Wed May 06, 2015 11:46 am
Has thanked: 58 times
Been thanked: 133 times


Return to Feedback

Who is online

Users browsing this forum: No registered users and 1 guest

cron