Sudo
Quoted 6 lines
From: Pradeep Kumar Sadanapalli <[email protected]>
Reply-To: [email protected]
To: [email protected]
Subject: Sudo
Date: Tue, 17 Jun 2003 20:16:59 -0700 (PDT)
Quoted 9 lines
Hi,
I have given sudo rights to a user for the command "rpm" . but within rpm, I want to keep some restrictions. For example, the user should not be able to run "rpm" to install a package I wish, say "abc.rpm" .That means "sudo rpm -ivh any.rpm" should work except "sudo rpm -ivh abc.rpm"
Is it possible? If so, please help me out how to do this. I hope I am clear with what I intend to do .
Thanks in advance....
Specify a command alias with the specific rpm command that you want to deny.
Specify a user alias for all the users you want to prevent from running this command. In the user previlege specification, negate the permission for the running the command for those users.
The trick is to specify the complete command in the command alias. Be careful not to allow any combinations of rpm command to be able to run with that specific rpm.
Subhash Bhushan.
_____________________________________________________________
Quoted 10 lines
Search - Browse - Communicate
http://www.ceeby.com
Best Meta Search Engine on the Web._____________________________________________________________
Select your own custom email address for FREE! Get [email protected], No Ads, 6MB, IMAP, POP, SMTP & more! http://www.everyone.net/selectmail?campaign=tag
-
To unsubscribe from this list: send the line "unsubscribe linux-admin" in
the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html
_________________________________________________________________
Bollywood's back! Will June keep up the tempo? http://server1.msn.co.in/features/junemovies03/index.asp