httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jim Jagielski <...@devsys.jaguNET.com>
Subject Re: cvs commit: apache-1.3/src CHANGES
Date Wed, 21 Apr 1999 19:02:01 GMT
Coming up... Finishing the /etc/passwd scan stuff as we speak :)


Ralf S. Engelschall wrote:
> 
> 
> In article <199904211825.OAA04363@devsys.jaguNET.com> you wrote:
> > Ralf S. Engelschall wrote:
> >> 
> >> Correct, that was the original reason why I used "id" in APACI and not the
> >> above if-cascade. But are you sure whoami is portable? It's a rather old
> >> command, yes. But there are also platforms where only "who am i" exists and
no
> >> "whoami" when I remember correctly. So what do you suggest as the final
> >> solution, Jim?
> > 
> > On systems that have 'who am i' put not 'whoami', what's output is
> > their process line from 'who'. Not too useful.  True that 'who am i'
> > is older though, though I've not seen UNIXs out there without
> > 'whoami' for ages. 'id' is newer than 'whoami' though. If they
> > lack 'whoami' I doubt that they have 'id'.
> > 
> > It all depends on how fancy we want to get. We could easily brew our
> > own 'getuid.sh' helper script, but is it just wasted cycles?
> > What's important is some sort of feedback to the user, so what we
> > have is even good enough (except does the current 'chown' use in
> > configure print out 2> ?) 
> > 
> > Maybe I'll whip up a getuid.sh anyway; maybe Apache 2.0 may need it :) :)
> 
> Yes, actually we could use getuid.sh both inside configure and Makefile.tmpl.
> We already need it at two locations, so it sounds reasonable to cook up such a
> little helper script.
>                                        Ralf S. Engelschall
>                                        rse@engelschall.com
>                                        www.engelschall.com
> 


-- 
===========================================================================
   Jim Jagielski   |||   jim@jaguNET.com   |||   http://www.jaguNET.com/
            "That's no ordinary rabbit... that's the most foul,
            cruel and bad-tempered rodent you ever laid eyes on"

Mime
View raw message