--- mingetty-1.00/mingetty.c.orig 2002-03-04 17:10:01 +0300 +++ mingetty-1.00/mingetty.c 2002-06-03 22:57:56 +0400 @@ -437,7 +437,8 @@ while ((logname = get_logname ()) == 0); - execl (_PATH_LOGIN, _PATH_LOGIN, "--", logname, NULL); + setenv("LOGNAME", logname, 1); + execl (_PATH_LOGIN, _PATH_LOGIN, NULL); error ("%s: can't exec " _PATH_LOGIN ": %s", tty, strerror(errno)); exit (0); }