Path: utzoo!utgpu!news-server.csri.toronto.edu!rpi!zaphod.mps.ohio-state.edu!tut.cis.ohio-state.edu!ucbvax!mtxinu!taniwha!paul From: paul@taniwha.UUCP (Paul Campbell) Newsgroups: comp.unix.aux Subject: Re: Scripts to deal with A/UX's buggy UUCP Summary: (I'll show you mine if you'll show me your's :-) Message-ID: <796@taniwha.UUCP> Date: 18 Mar 91 04:19:09 GMT References: <1991Mar10.194813.10357@panix.uucp> <1991Mar12.170918.29890@mitem> Reply-To: paul@taniwha.UUCP (Paul Campbell) Organization: Taniwha Systems Design, Oakland Lines: 44 In article <1991Mar12.170918.29890@mitem> unger@mitem (Tom Unger) writes: > >In article <1991Mar10.194813.10357@panix.uucp> alexis@panix.uucp (Alexis Rosen) writes: >>The first one, uupoll, will call the named system up to a specified number of >I too wrote a uupoll program when setting up uucp. Mine is a bit Yeah so did I - compile this, install it as /usr/bin/uupoll and make it setuid uucp (if you want anyone to be able to run it) Paul - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - #include main(argc, argv) char ** argv; { char buff[100]; int id, i; if (argc == 2) { sprintf(buff, "-s%s", argv[1]); if ((id = fork()) == 0) { for (i = 0; i < _NFILE; i++) close(i); execl("/usr/lib/uucp/uucico", "uucico", "-r1", buff, NULL); } else if (id > 0) { exit(0); } } fprintf(stderr, "%s: invalid parameter\n", argv[0]); exit(2); } - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -- Paul Campbell UUCP: ..!mtxinu!taniwha!paul AppleLink: CAMPBELL.P "But don't we all deserve. More than a kinder and gentler fuck" - Two Nice Girls, "For the Inauguration"