[Pkg-shadow-devel] patch for login - 3
Nicolas François
nicolas.francois@centraliens.net
Tue, 31 May 2005 23:50:23 +0200
Hello Tomasz,
Here are two other patches. The second one is a little bit related to the
first one, but is less important.
008_login_opt-f_with_username_after--
makes login's -f option also able to use the username after -- if none
was passed as it's optarg.
It is IMHO important for programs calling login and that don't want the
user to provide options to login.
More info at: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=53702
008_login_stop_checking_args_after--
getty calls login with:
(void) execl(options.login, options.login, "--", logname, (char *) 0);
If an user enters "-username", she gets the usage, but she should get,
IMHO, the same display as in case of a non-existent username.
More info at: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=66368
Best Regards,
--
Nekral