Gordon Matzigkeit <[EMAIL PROTECTED]> writes:
> I'm working on cleaning up lsh so that it is useful to me. Here is
> a patch that invokes the login shell in a way that is consistent with
> other login programs (argv[0] has a leading hyphen).
BTW, on BSD based systems, telnetd, rlogind and other programs don't
implement login functionality themselves -- they invoke login as root
with a special flag that says "please do the right thing". This avoids
the entire problem of simulating the local system's login
functionality.
Perry