Re: Running Utilities as anothe
Posted in 1997
Viegas, John Paul wrote: > > The problem I have with this solution is that either the password will be > exposed, or the user will be able to su to informix at any time. The > user of this tool is able to log on to unix and has just enough knowledge > to do some damage by su'ing to informix. Thanks for the suggestion, but > I"m looking for a different way. > > JP Try writing your own *sudo*, actually write a little stub that does a setuid, setgid (if necessary), then executes a script or a specific command. sudo was meant to give the user some of root's privileges. But it isn't too hard to right your own. -Mike -- #include <std_disclaimer.h> /* Mike Segel (MS385) */ #include <No_Spam.h> #ifdef OFFENDED_BY_CONTENT The author takes no responsibility for this post. Any resemblence to a coherent rational thought is purely coincidence. -The Management. #endif ***************************** Due to AGIS's Refusal to Act Responsibly We are blocking all of their domains at the packet level. This block will exist until AGIS modifies their policies to conform to existing RFCs and net community standards. We encourage all ISPs and domain holders to do the same. *****************************