* src/login.c: Make sure a username is specified with -f.
* src/login.c: Copy the name of the user authenticated by PAM to
username. This simplify later logging (avoid USE_PAM
conditional).
+ * src/login.c: Check that no username is specified with -r.
+ * src/login.c: Make sure a username is specified with -f.
2008-09-20 Nicolas François <nicolas.francois@centraliens.net>
++optind;
}
+#ifdef RLOGIN
+ if (rflg && (NULL != username)) {
+ usage ();
+ }
+#endif /* RLOGIN */
+ if (fflg && (NULL == username)) {
+ usage ();
+ }
+
}