INN's install program

Richard Michael Todd rmtodd at mailhost.ecn.ou.edu
Tue Nov 23 19:31:07 UTC 1999


>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

This is evil, but

perl -e 'print $>,"\n";'
will return the numeric userid, and you pretty much have to have perl around
for INN to work these days anyway.

Not that I'm sure it's worth the hassle to try to make install-sh work as 
non-root, but if you want to, that's one way to do it.


More information about the inn-workers mailing list