Re: Lingering UDP ports with GNU GateKeeper 2.0.5? Much confusion!

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



 --- Zygmuntowicz Michal <m.zygmuntowicz@onet.pl>
wrote:
> If you will have a ready, portable (that compiles on
> most unices) piece of code 
> to get user/group name from config or/and command
> line and set GK process
> owner/group, ...

And that's the tricky bit... ;-). My current plan is
to use the following system functions:

geteuid()
setreuid()
setregid()
getpwnam_r()

I don't yet know how portable these will prove to be.
Cheers,
Chris


________________________________________________________________________
Want to chat instantly with your online friends?  Get the FREE Yahoo!
Messenger http://mail.messenger.yahoo.co.uk


-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
List: Openh323gk-users@lists.sourceforge.net
Archive: http://sourceforge.net/mailarchive/forum.php?forum_id=8549
Homepage: http://www.gnugk.org/

[Index of Archives]     [SIP]     [Open H.323]     [Gnu Gatekeeper]     [Asterisk PBX]     [ISDN Cause Codes]     [Yosemite News]

  Powered by Linux