Unix/Linux Go Back    


UNIX for Dummies Questions & Answers This forum is closed for new posts. Please post beginner questions to learn unix and learn linux in this forum UNIX for Beginners Questions & Answers

How to allow access to some commands having root privleges to be run bu non root user

UNIX for Dummies Questions & Answers


 
 
Thread Tools Search this Thread Display Modes
    #1  
Old Unix and Linux 10-14-2009   -   Original Discussion by suryashikha
suryashikha suryashikha is offline
Registered User
 
Join Date: Oct 2009
Last Activity: 30 October 2009, 6:59 PM EDT
Posts: 5
Thanks: 0
Thanked 0 Times in 0 Posts
How to allow access to some commands having root privleges to be run bu non root user

hi
i am new to unix and i have abig task. i have to \run particular commands having root privileges from a non root user. i know sudo is one of the way but i need sum other approach kindly help

Thanks
Sponsored Links
    #2  
Old Unix and Linux 10-14-2009   -   Original Discussion by suryashikha
thegeek thegeek is offline
Read Only
 
Join Date: Apr 2009
Last Activity: 30 July 2012, 5:38 AM EDT
Location: /usr/bin/vim
Posts: 946
Thanks: 13
Thanked 38 Times in 36 Posts
Why cant you use sudo itself ?! Its fairly an easy process.

Else you can try using set-user-id thing, which your passwd command uses.
Sponsored Links
    #3  
Old Unix and Linux 10-14-2009   -   Original Discussion by suryashikha
suryashikha suryashikha is offline
Registered User
 
Join Date: Oct 2009
Last Activity: 30 October 2009, 6:59 PM EDT
Posts: 5
Thanks: 0
Thanked 0 Times in 0 Posts
sudo has to be installed on and confiugred .So its a pain to do on 1000 hosts. i am trying setuid thing but i am stuck on how to push it without root privileges. any idea
    #4  
Old Unix and Linux 10-14-2009   -   Original Discussion by suryashikha
thegeek thegeek is offline
Read Only
 
Join Date: Apr 2009
Last Activity: 30 July 2012, 5:38 AM EDT
Location: /usr/bin/vim
Posts: 946
Thanks: 13
Thanked 38 Times in 36 Posts
You can find a good explanation here ..

setuid - Wikipedia, the free encyclopedia
Sponsored Links
    #5  
Old Unix and Linux 10-14-2009   -   Original Discussion by suryashikha
legorosequeen legorosequeen is offline
Registered User
 
Join Date: Oct 2009
Last Activity: 19 October 2009, 3:35 PM EDT
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
If you're using Solaris, Role Based Access Controls (RBAC) would work.

Of course, like sudo you will initially need root access on your clients to set it up.

Understading RBAC - The Observatory
Sponsored Links
    #6  
Old Unix and Linux 10-30-2009   -   Original Discussion by suryashikha
suryashikha suryashikha is offline
Registered User
 
Join Date: Oct 2009
Last Activity: 30 October 2009, 6:59 PM EDT
Posts: 5
Thanks: 0
Thanked 0 Times in 0 Posts
Thanks for the reply
Sponsored Links
 

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Linux More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
access user history as root sardare Shell Programming and Scripting 4 07-01-2009 01:09 PM
I can not access root user through LAN rizwan225 Solaris 6 03-18-2009 07:03 PM
user commands without root access emealogistics HP-UX 1 05-27-2007 12:04 AM
Capture of all commands issued by the user “root” elieifrah@gmail UNIX for Advanced & Expert Users 4 03-19-2007 11:55 AM
how to access root priveliges if root password is lost wojtyla Linux 1 02-18-2005 06:24 AM



All times are GMT -4. The time now is 05:22 PM.