[BusyBox] OpenSSH on BusyBox

Vladimir N. Oleynik dzo at simtreas.ru
Wed Dec 18 07:14:03 UTC 2002


Nick,
 
> On Wed, 18 Dec 2002, Vladimir N. Oleynik wrote:
> > You don`t set root user to /etc/passwd ?
> 
> Here is fragment of code where I dropped out
> openssh-3.5p1/ssh.c:
> 232:    original_real_uid = getuid();
>         original_effective_uid = geteuid();
> [...]
> 253:    /* Get user data. */
>         pw = getpwuid(original_real_uid);
>         if (!pw) {
>                 log("You don't exist, go away!");
>                 exit(1);
>         }
> [...]
> 
> All looks good.
> 8-S
> Any ideas?


require libnss* or busybox/lib_pw functions.


--w
vodz



More information about the busybox mailing list