I'm very pleased to announce the release of our new website and documentation using the new toolchain with Hugo and AsciiDoctor. To get more information about the new toolchain please read the FreeBSD Documentation Project Primer[1], Hugo docs[2] and AsciiDoctor docs[3]. Acknowledgment: Benedict Reuschling <bcr@> Glen Barber <gjb@> Hiroki Sato <hrs@> Li-Wen Hsu <lwhsu@> Sean Chittenden <seanc@> The FreeBSD Foundation [1] https://docs.FreeBSD.org/en/books/fdp-primer/ [2] https://gohugo.io/documentation/ [3] https://docs.asciidoctor.org/home/ Approved by: doceng, core
21 lines
569 B
Diff
21 lines
569 B
Diff
Index: sshd.c
|
|
===================================================================
|
|
RCS file: /home/ncvs/src/crypto/openssh/sshd.c,v
|
|
retrieving revision 1.6
|
|
diff -u -r1.6 sshd.c
|
|
--- sshd.c 2000/03/09 14:52:31 1.6
|
|
+++ sshd.c 2000/07/04 09:27:02
|
|
@@ -2564,7 +2564,13 @@
|
|
char *argv[10];
|
|
#ifdef LOGIN_CAP
|
|
login_cap_t *lc;
|
|
+#endif
|
|
|
|
+ /* login(1) is only called if we execute the login shell */
|
|
+ if (options.use_login && command != NULL)
|
|
+ options.use_login = 0;
|
|
+
|
|
+#ifdef LOGIN_CAP
|
|
lc = login_getpwclass(pw);
|
|
if (lc == NULL)
|
|
lc = login_getclassbyname(NULL, pw);
|