INN's install program

Russ Allbery rra at stanford.edu
Tue Nov 23 03:34:38 UTC 1999


Kjetil Torgrim Homme <kjetilho at ifi.uio.no> writes:
> [Forrest J. Cavalier, III]

>>   The initial install needs root, but it would be nice that a make
>>   update does the right thing when run as news.  (Obviously can't
>>   replace inndstart, but should be able to do the rest.)

> You only need root if you run your server on a low port number.  I
> always install as the user "news".

Okay, how should install-sh handle this, then?

windlord:~> whoami
whoami: Command not found.

I don't know of another command that just returns the username.  I suppose
I can try to parse the output of "who am i" or id, but that gets rather
ugly.  Maybe build our own little whoami program on systems that don't
have one?  That seems kind of annoying.

If whoami fails, just assume we're root?

-- 
Russ Allbery (rra at stanford.edu)         <URL:http://www.eyrie.org/~eagle/>


More information about the inn-workers mailing list