On 08/10/04 03:20 -0700, Yogesh Sumeru wrote: > Hi guys > > I am writing some Perl scripts. I was facing a problem. Fortunately, I > have found a workaround. But I am interested to know if there can be a > better solution. > > Problem was: The scripts are running not as root user (and this can't > be changed). But at some places I want to do operations that require > root privilege. the operations are of two types (1) reading and writing > to files that are owned by root and (2) executing commands (for > example, postcat) that require root privilege. I have no idea how this > can be done in Perl. The workaround that I have managed is, I have
perldoc perlsec Are you trying to write a content_filter? If so, then use the DOCUMENTED mechanisms for filtering. Devdas Bhagat ------------------------------------------------------- This SF.net email is sponsored by: IT Product Guide on ITManagersJournal Use IT products in your business? Tell us what you think of them. Give us Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more http://productguide.itmanagersjournal.com/guidepromo.tmpl _______________________________________________ linux-india-help mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/linux-india-help
