Another SUDOER Question...


 
Thread Tools Search this Thread
Top Forums UNIX for Advanced & Expert Users Another SUDOER Question...
# 1  
Old 11-11-2005
Another SUDOER Question...

I have my sudoers file setup to provide execution of specific directories (/a/s, /a/x, /a/d, /a/e, etc.....) I tried to list just /a/ meaning anything under /a can be executed by specific ids. However, this didn't work. Is there a way to provide rights to an entire directory structure within a sudoer file? If it helps, this is AIX 5.2.


As an aside, I was told I had to provide the ability to issue the chown command for this same directory. In my sudoer file, can I say "/bin/sudo su - /bin/chown /a" to cover the entire directory structure?

Thanks again.
Login or Register to Ask a Question

Previous Thread | Next Thread

9 More Discussions You Might Find Interesting

1. Linux

Syntax error in one line in sudoer file cause total failure

I have notice that when I create a sudoer file in the sudoer.d directory, then if I have a syntax error, I cannot do sudo at all, in all accounts. Why can't they change the mechanism, so it will ignore syntax error line and will only display error message but won't cause total failure and... (7 Replies)
Discussion started by: programAngel
7 Replies

2. UNIX for Dummies Questions & Answers

Ls -l question

Hi, When doing ls -l, is it right to assume that all files with the date and time on it are files that are created/modified on the current year? Is there any way to display the creation/modified date of a file that are not created/modified in the current year? (4 Replies)
Discussion started by: newbie_01
4 Replies

3. UNIX for Dummies Questions & Answers

Question about -n

Hello there, New user/ poster that just joined, really quick question as I couldnt find it through the search function In this script echo -n "enter your username " read username if then echo "Hello $username!" exit 0 else echo "You did not provide a vaild name!" exit 1... (2 Replies)
Discussion started by: kingpin007
2 Replies

4. UNIX for Advanced & Expert Users

Sudoer Help....

Hi, When i use command "sudo -l" under my user, it gives me the following list. (root) NOPASSWD: /bin/chgrp (root) NOPASSWD: /bin/chmod (root) NOPASSWD: /bin/chown (root) NOPASSWD: /bin/mkdir (root) NOPASSWD: /bin/su - hubsup (root) NOPASSWD: /bin/su hubsup ... (1 Reply)
Discussion started by: jitendriya.dash
1 Replies

5. UNIX for Advanced & Expert Users

Sudoer file - controlling parameters

Greetings all, I'm interested in knowing more about setting up the sudoers file... hope to receive some advice here. Let's say that I have 3 users, with usernames user1, user2 and user3. The following rules would apply for each user: user1 can only use the command ksh a.sh to launch... (1 Reply)
Discussion started by: rockysfr
1 Replies

6. UNIX for Advanced & Expert Users

Use of sudoer with ssh login shell script (KSH)

Greetings all, I'm in the midst of writing a login component for a series of shell scripts. What my login script does is this: 1. Prompt for username and read in username 2. Prompt for destination host and read in destination host 3. run ssh username and destination host 4. After user keys... (0 Replies)
Discussion started by: rockysfr
0 Replies

7. UNIX for Dummies Questions & Answers

A question?

using my unix os, can i do any autoexec.bat editing in order to execute selected programs that i use most often? :confused: (1 Reply)
Discussion started by: alecks1975
1 Replies

8. UNIX for Dummies Questions & Answers

Root privileges &Sudoer

Hi guys... how can a root assign a user all or most of the root privileges? is sudoer comand enough 4 this? thx alot.. (2 Replies)
Discussion started by: blue_7
2 Replies

9. UNIX for Dummies Questions & Answers

Next Question:

what is the function of swap in linux why i have to create apsolutely a particion for the swap when i install (i installed lnx4win mandrake and made an automat. disk particion and the install program one of my disk partitions that was 3gb devidet in 4 one native 700mb swap 600mb and the others i... (1 Reply)
Discussion started by: user666
1 Replies
Login or Register to Ask a Question
GLGENQUERIES(3G)						    OpenGL 3.3							  GLGENQUERIES(3G)

NAME
glGenQueries - generate query object names C SPECIFICATION
void glGenQueries(GLsizei n, GLuint * ids); PARAMETERS
n Specifies the number of query object names to be generated. ids Specifies an array in which the generated query object names are stored. DESCRIPTION
glGenQueries returns n query object names in ids. There is no guarantee that the names form a contiguous set of integers; however, it is guaranteed that none of the returned names was in use immediately before the call to glGenQueries. Query object names returned by a call to glGenQueries are not returned by subsequent calls, unless they are first deleted with glDeleteQueries(). No query objects are associated with the returned query object names until they are first used by calling glBeginQuery(). ERRORS
GL_INVALID_VALUE is generated if n is negative. GL_INVALID_OPERATION is generated if glGenQueries is executed between the execution of glBeginQuery() and the corresponding execution of glEndQuery(). ASSOCIATED GETS
glIsQuery() SEE ALSO
glBeginQuery(), glDeleteQueries(), glEndQuery() COPYRIGHT
Copyright (C) 2005 Addison-Wesley. This material may be distributed subject to the terms and conditions set forth in the Open Publication License, v 1.0, 8 June 1999. http://opencontent.org/openpub/. OpenGL 3.3 03/08/2011 GLGENQUERIES(3G)