On Tuesday 01 October 2002 16:11, Jim Reimer wrote: > suid bit on a script is ignored, isn't it?
AFAIK yes, and the saying is, never run a script as root, root is evil, one small oversight and damage can be done period. I once was accused of destorying someones system because i said, "if" you want to get all the information from the script then you will need to run it as root, if it is run under a user it will not gain some vital information from your /etc dir, a few days later a mail appierd on that particular mailing list saying i had destroyed his system with my script. Many still use that script actually but thats asside the point, root is evil. > -jdr- > > Ray Olszewski wrote: > > Yes. You want to set the suid bit on it and have it owned by root. "man > > chmod" (or maybe other chmod documentation) for the details. > > > > At 09:55 AM 10/1/02 -0400, Paul Kraus wrote: > >> I have a backup script that mounts a drive on my xp workstations. Is > >> there a way I can set this script to run as root so that I do not have > >> to su every time I want to run it? > > > > -- > > -------------------------------------------"Never tell me the > > odds!"-------- > > Ray Olszewski -- Han Solo > > Palo Alto, California, USA [EMAIL PROTECTED] > > ------------------------------------------------------------------------- > >------ -- Regards Richard [EMAIL PROTECTED] http://people.zeelandnet.nl/pa3gcu/ - To unsubscribe from this list: send the line "unsubscribe linux-newbie" in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.linux-learn.org/faqs
