On Thursday 12 June 2003 11:29 am, Shawn wrote:
>   I'm not finding an answer to a sudo issue online.  I've looked at the
> sudo website, and a few of the links there, but couldn't find a good
> answer. Is there a way to block a certain file from being vi'd with sudo? 
> Preferably, I'd rather take away sudo, or at least vi itself out of the
> sudoers config, but it's not going to happen.  I know I can block commands,
> and set up host aliases, but can one specify file aliases as well to keep
> them from being modified?  Or something along that line?
>
> Thanks.

not going to work- once you are in vi, you can always open another file. (in 
other words, you dont always open the file off the command line). There might 
be a better way to do what you are looking for, what are you trying to 
prevent?

Jay

-- 
Jay Kline
http://www.slushpupie.com


_______________________________________________
TCLUG Mailing List - Minneapolis/St. Paul, Minnesota
http://www.mn-linux.org tclug-list at mn-linux.org
https://mailman.real-time.com/mailman/listinfo/tclug-list