Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP
Posting-Version: version B 2.10.2 9/5/84; site men1.UUCP
Path: utzoo!watmath!clyde!cbosgd!ihnp4!houxm!mhuxj!mhuxr!ulysses!allegra!mit-eddie!godot!harvard!seismo!umcp-cs!prometheus!men1!ron
From: ron@men1.UUCP (Ron Flax)
Newsgroups: net.bugs.uucp
Subject: Re: Re: System V introduces yet another inconsistency
Message-ID: <383@men1.UUCP>
Date: Fri, 1-Mar-85 14:20:35 EST
Article-I.D.: men1.383
Posted: Fri Mar  1 14:20:35 1985
Date-Received: Mon, 4-Mar-85 04:49:37 EST
References: <454@lsuc.UUCP> <107@timeinc.UUCP>
Organization: MTACCS Engineering Network, Arlington VA
Lines: 36

> > Since time immemorial (well, a few years anyway), the public
> > directory for shipping files to a remote system (normally
> > /usr/spool/uucppublic) has been user "uucp"'s home directory.
> > In other words,    uucp file site!~uucp/file     works.
> > 
> > I tried this the other day with a site we talk to which is
> > trying to follow the System V "standard". Lo and behold, the
> > System V standard has "uucp" as a normal user whose home
> > directory is /usr/lib/uucp, and the uucico login is "nuucp".
> > 
> 
> No you don't..... try reading some documentation....  the "~uucp"
> means to look up the home directory in the passwd file.... which
> /usr/lib/uucp should be uucp's $HOME...   while "~/dave" would
> mean to put the files into /usr/spool/uucppublic/dave...  it is 
> all very easy to understand.....  try it you'll like it...
> 
Sorry Dave but...

The way I've learned it (and all the UNIX systems I've seen operate) is
that ~uucp expands out to uucp's $HOME, and ~/ will expand out
to the current user's $HOME/ (ie. uucp if uucico is running suid).

So... ~uucp expands to uucp's $HOME and ~/filename expands out to uucp's
$HOME/filename.  Unless uucico is *NOT* running suid to uucp.

If you must have a uucp login that doesn't execute uucico then try something
like uucpmgr, etc.  Usually root maintains uucp stuff anyhow, so I don't 
view this as a real problem.

--
Ron@men1	(Ron Flax)
MTACCS Engineering Network
..!{seismo,umcp-cs}!{prometh,cal-unix}!men1!ron

     "The opinions expressed herein are mine only if you agree with them."