Go Back   The UNIX and Linux Forums > Top Forums > UNIX for Dummies Questions & Answers


UNIX for Dummies Questions & Answers If you're not sure where to post a UNIX or Linux question, post it here. All UNIX and Linux newbies welcome !!

Closed Thread    
 
Thread Tools Search this Thread Display Modes
    #1  
Old 06-19-2012
Registered User
 
Join Date: Oct 2008
Posts: 262
Thanks: 19
Thanked 6 Times in 6 Posts
Sudo for Non-Admin User

Can a user who is not an admin be added to sudoers to allow them to elevate to root and run administrative tasks only from the command line by using sudo, but not be able to perform administrative tasks in any other capacity?

---------- Post updated at 11:07 AM ---------- Previous update was at 11:00 AM ----------

I think I figured out that the answer is yes. I wonder then, on a Mac, if I give: user ALL ALL will it only allow root tasks to be performed from the command line, or will it allow software installations and other administrative tasks from the GUI?
Sponsored Links
    #2  
Old 06-19-2012
ctsgnb ctsgnb is offline Forum Advisor  
Registered User
 
Join Date: Oct 2010
Location: France
Posts: 2,763
Thanks: 72
Thanked 587 Times in 561 Posts
Yes allowing a user to run only certain commands as root can be done by setting up the sudoers file in an appropriate way.
(Just check that you've setup a correctly formatted sudoers file)
Sponsored Links
Closed Thread

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
New user question regarding admin rights stansaraczewski Solaris 7 12-16-2011 09:35 PM
Admin user command usage restrictions Dpu Shell Programming and Scripting 5 09-19-2011 06:13 AM
Write a scripts to kill idle user for 60 min. & email user list to admin in text file sumit30 Shell Programming and Scripting 4 04-02-2011 10:05 PM
Network user admin... penguin-friend UNIX for Advanced & Expert Users 8 08-15-2003 02:18 PM
IRIX SGI user admin vtran4270 UNIX for Advanced & Expert Users 1 10-17-2002 03:29 PM



All times are GMT -4. The time now is 04:03 PM.