LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
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!

Notices


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

Rep: Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651

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, 06:57 AM   #17
Soadyheid
Senior Member
 
Registered: Aug 2010
Location: Near Edinburgh, Scotland
Distribution: Cinnamon Mint 20.1 (Laptop) and 20.2 (Desktop)
Posts: 1,671

Rep: Reputation: 486Reputation: 486Reputation: 486Reputation: 486Reputation: 486
Quote:
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, 10:20 AM   #18
BW-userx
LQ Guru
 
Registered: Sep 2013
Location: Somewhere in my head.
Distribution: Slackware (15 current), Slack15, Ubuntu studio, MX Linux, FreeBSD 13.1, WIn10
Posts: 10,342

Rep: Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242
Quote:
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 10:22 AM.
 
  


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

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 05:52 AM.

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
Open Source Consulting | Domain Registration