Visit Jeremy's Blog.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 09-05-2016, 08:15 PM   #16
John VV
LQ Muse
Registered: Aug 2005
Location: A2 area Mi.
Posts: 17,502

Rep: Reputation: 2617Reputation: 2617Reputation: 2617Reputation: 2617Reputation: 2617Reputation: 2617Reputation: 2617Reputation: 2617Reputation: 2617Reputation: 2617Reputation: 2617

until the OP posts back ...

so the answer is ---

Yes , No , Maybe

it depends on the set up
a desktop install then yes
a server ? maybe
Old 09-06-2016, 07:57 AM   #17
Senior Member
Registered: Aug 2010
Location: Near Edinburgh, Scotland
Distribution: Cinnamon Mint 19.2 (Netbook) and 18.3 (Desktop)
Posts: 1,532

Rep: Reputation: 430Reputation: 430Reputation: 430Reputation: 430Reputation: 430
a server ? maybe
I'd say a definite NO for a server, especially in a commercial environment.
I'd hate to be halfway through some sort of data critical transaction to have some non-administrative User twonk shut the server down before it had completed satisfactorily.

Most commercial 24/7 servers need a dispensation from the Archangel Gabriel (or higher!) to be shut down. Certainly not by a User.

End of rant.

Play Bonny!

Old 09-07-2016, 11:20 AM   #18
LQ Guru
Registered: Sep 2013
Location: Somewhere in my head.
Distribution: Slackware (current), FreeBSD, Win10, It varies
Posts: 9,952

Rep: Reputation: 2148Reputation: 2148Reputation: 2148Reputation: 2148Reputation: 2148Reputation: 2148Reputation: 2148Reputation: 2148Reputation: 2148Reputation: 2148Reputation: 2148
Originally Posted by Entropy1024 View Post
I want to be able to give normal users the ability to reboot the machine, if a normal user tries to execute a reboot it will ask for the root password, which I don't want them to have.

Is it somehow possible to set up exemptions for some commands to not require root access?

Many thanks.
no they have to have root prmissions, you can limit them by using SUDO as a group user. or a different group you can add then set up in sudoers file to use for specific permissions to limited users only.

just mod your sudoers file to do this.

Take Control of your Linux | sudoers file: How to with Examples

Last edited by BW-userx; 09-07-2016 at 11:22 AM.


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
How to login root from normal user without password yogeshjadhav96 Linux - Newbie 6 08-27-2015 03:33 AM
[SOLVED] Give normal user root privileges and using same password. linustalman Linux - Security 7 08-11-2014 09:59 PM
Allow Normal User to Change Root Account Password Digistras Linux - Newbie 10 07-29-2014 11:27 AM
Root execute command as a normal user carlosjf Linux - Newbie 5 04-01-2011 07:41 PM
How could normal user obtain root password or change root password ckamheng Debian 18 02-18-2009 11:28 PM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 05:48 PM.

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