SCO 5.0.5 question (username not known)

Gert Doering gert at greenie.muc.de
Mon Feb 12 19:08:12 EST 2001


Hi,

On Mon, Feb 12, 2001 at 12:59:34AM -0500, Jim Knoble wrote:
> Actually, what sshd probably wants to do is something like the following:
> 
>   #ifdef HAVE_SETLUID
>   if (-1 == getluid()) {
>     setluid(my_uid);
>   }
>   #else

Yes.  Or just doing "setluid(my_uid)" and ignoring errors :-)

gert
-- 
USENET is *not* the non-clickable part of WWW!
                                                           //www.muc.de/~gert/
Gert Doering - Munich, Germany                             gert at greenie.muc.de
fax: +49-89-35655025                        gert.doering at physik.tu-muenchen.de





More information about the openssh-unix-dev mailing list