The UNIX and Linux Forums  
Hello and Welcome from United States to the UNIX and Linux Forums! Thank You for Visiting and Joining Our Global Community.

Go Back   The UNIX and Linux Forums > Top Forums > UNIX for Dummies Questions & Answers
.
google unix.com



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 !!

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
How to give FTP access to a single user santhoshkumar_d UNIX for Advanced & Expert Users 2 06-16-2008 10:43 AM
How do I give Java developers access to Solaris server gsander UNIX for Dummies Questions & Answers 4 04-21-2008 04:07 PM
secure access using sudo melanie_pfefer SUN Solaris 0 03-12-2008 04:11 AM
sudo, or not sudo: that is the question iBot UNIX and Linux RSS News 1 02-07-2008 01:40 PM
find . but not access subdirectories bobk544 Shell Programming and Scripting 3 05-04-2007 02:10 PM

Closed Thread
English Japanese Spanish French German Portuguese Italian Dutch Swedish Russian Norwegian Hungarian Hebrew Danish Powered by Powered by Google
 
LinkBack Thread Tools Search this Thread Rate Thread Display Modes
  #1 (permalink)  
Old 03-19-2008
LordJezo
Guest
  
 

Posts: n/a
Bits: 0 [Banking]
Possible to give sudo access to subdirectories?

Say I want to give someone access to /example/directory/* where * equals all the sub directories inside of /example/directory

I tried doing something like

joe DEV1=(ROOT) /example/directory/

But that doesn't seem to want to work. If I give him the full subdirectory path, like..


joe DEV1=(ROOT) /example/directory/something/apache/

He can run everything but I'd like to make it a little broader than that.

Is this possible with sudo?
  #2 (permalink)  
Old 03-21-2008
LordJezo
Guest
  
 

Posts: n/a
Bits: 0 [Banking]
Maybe I will get some Good Friday luck?
Received Infraction
  #3 (permalink)  
Old 03-26-2008
LordJezo
Guest
  
 

Posts: n/a
Bits: 0 [Banking]
Bump?

Looking for help please?
Received Infraction
  #4 (permalink)  
Old 03-26-2008
era era is offline Forum Advisor  
Herder of Useless Cats (On Sabbatical)
  
 

Join Date: Mar 2008
Location: /there/is/only/bin/sh
Posts: 3,652
sudo is mainly a facility for controlling access to commands. Can't you give those directories a specific group and then add your guy to that group? That sounds a lot less dangerous, unless he really needs to be able to respawn init(8) in that particular directory (just to make a point).
Sponsored Links
Closed Thread

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes Rate This Thread
Rate This Thread:

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 On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On




All times are GMT -4. The time now is 03:14 AM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited. Language Translations Powered by .
vBCredits v1.4 Copyright ©2007 - 2008, PixelFX Studios
The UNIX and Linux Forums Content Copyright ©1993-2009. All Rights Reserved.Ad Management by RedTyger

Content Relevant URLs by vBSEO 3.2.0