LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Bodhi
User Name
Password
Bodhi This forum is for the discussion of Bodhi Linux.

Notices


Reply
  Search this Thread
Old 11-07-2018, 07:04 AM   #1
sky_khan
LQ Newbie
 
Registered: Nov 2018
Posts: 2

Rep: Reputation: Disabled
Allow non super-user to shutdown


I've installed Bodhi 5 on old desktop computer. I liked it because it is compact and fast although I've find it a bit hard to configure. I've managed to configure other things because it is ubuntu derivative but could not find this because I know nothing about Moksha.

How can I allow secondary non super-user to shutdown from desktop ? I dont want to make it super-user. I just want it to be able to shutdown and reboot.

Last edited by sky_khan; 11-08-2018 at 06:33 AM.
 
Old 11-07-2018, 07:52 AM   #2
BW-userx
LQ Guru
 
Registered: Sep 2013
Location: MID-SOUTH USA
Distribution: Slackware 14.2 / Slackware 14.2 current / Manjaro / Parrot
Posts: 7,181

Rep: Reputation: 1439Reputation: 1439Reputation: 1439Reputation: 1439Reputation: 1439Reputation: 1439Reputation: 1439Reputation: 1439Reputation: 1439Reputation: 1439
step by step
http://how-to.wikia.com/wiki/How_to_...puter_in_Linux
and
https://www.cyberciti.biz/tips/howto...wn-server.html
and
https://superuser.com/questions/3546...tdowns-or-rebo


review all of them,they show various methods, pick what is good for you.
 
Old 11-07-2018, 05:45 PM   #3
rbtylee
Bodhi Developer
 
Registered: Jun 2018
Location: Ladson, SC US
Distribution: Bodhi
Posts: 30

Rep: Reputation: 29
Quote:
Originally Posted by sky_khan View Post
...

How can I allow secondary non super-user to shutdown from desktop ? I dont want to make it super-user. I just want it to be able to shutdown and reboot.
In order for a user to shutdown, reboot et al in Bodhi or enlightenment the user has to be a member of the group adm. Run the command below as your normal user with sudo privileges and substitute the new users account name for username.

Code:
sudo usermod -a -G adm username
 
2 members found this post helpful.
Old 11-08-2018, 06:32 AM   #4
sky_khan
LQ Newbie
 
Registered: Nov 2018
Posts: 2

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by rbtylee View Post

Code:
sudo usermod -a -G adm username
Thank you. That worked.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
What is good security measure to give normal user some super user power babbab Linux - Security 8 01-25-2016 09:51 AM
Super user—yes! Super Cow? vyver Ubuntu 10 10-24-2010 08:29 PM
How do i change to super user then revert back to ordinary user ,using shell script? wrapster Solaris / OpenSolaris 6 03-18-2009 04:37 AM
super user privileges check for a normal user in bash script freeindy Programming 2 08-01-2008 07:08 AM
Super Newb Question: How do I Shutdown? djsilent Mandriva 37 12-14-2005 07:24 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Bodhi

All times are GMT -5. The time now is 10:01 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration