Logging In as UUCP to Set crontab

Wm E. Davidsen Jr davidsen at sixhub.UUCP
Sun Aug 19 08:29:28 AEST 1990


In article <350 at tygra.ddmi.com> jpp at tygra.UUCP (John Palmer) writes:
| In article <25 at raysnec.UUCP> shwake at raysnec.UUCP (Ray Shwake) writes:
| >markd at silogic.UUCP (Mark DiVecchio) writes:
| >
| >>I don't quite understand how I get a new uucp owned crontab into
| >>/usr/spool/cron/crontabs. 
| >
| >>To do this for uucp, I need to login as uucp but, of course, the login
| >>shell is uucico so that won't work. 

  Create an entry for maintaining uucp things. Same UID and GID as uucp,
login dir /usr/lib/uucp, and you favorite login shell. I call mine
uumaint, and it is on every system I run. Usual rules about a good
password on a system account, of course.
| 
| Real simple: Login as root, and do this:

	[ complex procedure described ]
| 
| Then, edit the file, put in the commands, kill the current cron process
| (I'm SORRY - but regardless of what SCO says, the cron process 
| DOES NOT periodically
|  check the crontab files and update its internal database)
| and then restart cron by typing /etc/cron.

  cron seems to read new entries on SCO xenix and unix for me. The
crontab and at commands send a signal to tell it to reread. That's a lot
less likely to cause trouble that restarting it.
-- 
bill davidsen - davidsen at sixhub.uucp (uunet!crdgw1!sixhub!davidsen)
    sysop *IX BBS and Public Access UNIX
    moderator of comp.binaries.ibm.pc and 80386 mailing list
"Stupidity, like virtue, is its own reward" -me



More information about the Comp.unix.xenix mailing list