Xref: utzoo comp.unix.xenix:4423 comp.mail.uucp:2617 Path: utzoo!attcan!uunet!steinmetz!davidsen From: davidsen@steinmetz.ge.com (William E. Davidsen Jr) Newsgroups: comp.unix.xenix,comp.mail.uucp Subject: Re: Problem with uucp login with SCO XENIX 2.3.1 Message-ID: <12925@steinmetz.ge.com> Date: 11 Jan 89 20:13:55 GMT References: <252@electro.UUCP> <397@mjbtn.MFEE.TN.US> Reply-To: davidsen@crdos1.UUCP (bill davidsen) Organization: General Electric CRD, Schenectady, NY Lines: 12 I had the same problem, and just hacked the cleanup script to be a little smarter. I have some non-standard stuff on my system, but you can do a quick and dirty check by using grep and looking at the status. I don't remember the name of the env variable with the dirname, but this is the idea: grep ":${dirname}:" /etc/passwd || rmdir ${dirname} -- bill davidsen (wedu@ge-crd.arpa) {uunet | philabs}!steinmetz!crdos1!davidsen "Stupidity, like virtue, is its own reward" -me