[BusyBox] OpenSSH on BusyBox

Nick Fedchik fnm at fusion.ukrsat.com
Wed Dec 18 06:49:05 UTC 2002


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?

-- 
Nick Fedchik <fnm at fusion.ukrsat.com>
FNM3-RIPE (-UANIC), UkrSat ISP



More information about the busybox mailing list