[Cialug] Prevent a command from being used w/ sudo

Kenneth Younger kenny at sheerfocus.com
Tue May 17 16:11:55 CDT 2011


I actually asked a question very similar to this the other day on the
Unix/Linux StackExchange site.

http://unix.stackexchange.com/questions/12807/preventing-use-of-cd-in-bash

On Tue, May 17, 2011 at 4:10 PM, Matthew Nuzum <newz at bearfruit.org> wrote:

> Is there a way to prevent a command from being run with sudo? (in Ubuntu
> specifically) Would be awesome if I could spit out a user-friendly error
> message so I can remember why I chose not to allow that command to be run.
>
> --
> Matthew Nuzum
> newz2000 on freenode, skype, linkedin and twitter
>
> "Opportunity is missed by most people because it is dressed in overalls and
> looks like work." -Thomas Edison
>
>
> _______________________________________________
> Cialug mailing list
> Cialug at cialug.org
> http://cialug.org/mailman/listinfo/cialug
>
>


-- 
Kenneth Younger III
Founder, Sheer Focus Inc.
Organizer, WordCamp Iowa
e: kenny at sheerfocus.com
p: (515) 367-0001
t: @kenny <http://twitter.com/kenny>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://cialug.org/pipermail/cialug/attachments/20110517/889de5a3/attachment.html>


More information about the Cialug mailing list