search for: ssh_user_rc

Displaying 2 results from an estimated 2 matches for "ssh_user_rc".

2000 Feb 27
0
[PATCH] Fix login.conf, expiration, BSD compatibility in OpenSSH
...uot;Sorry -- your password has expired.\n"); - syslog(LOG_INFO, - "%s Password expired - forcing change", - pw->pw_name); - if (system("/usr/bin/passwd") != 0) - perror("/usr/bin/passwd"); - } - } -#endif /* __FreeBSD__ */ if (stat(SSH_USER_RC, &st) >= 0) { if (debug_flag) fprintf(stderr, "Running /bin/sh %s\n", SSH_USER_RC); @@ -2675,7 +2802,11 @@ mailbox = getenv("MAIL"); if (mailbox != NULL) { if (stat(mailbox, &mailstat) != 0 || mailstat.st_size == 0) +#ifdef __FreeBSD__ +...
2000 Jun 29
1
_PATH_BSHELL versus /bin/sh
Hi all, while _PATH_BSHELL is defined in "defines.h", there are two sources which uses /bin/sh _hardcoded_. Shouldn't that changed to _PATH_BSHELL, too? session.c:1065: f = popen("/bin/sh " SSH_USER_RC, "w"); session.c:1076: f = popen("/bin/sh " SSH_SYSTEM_RC, "w"); sshconnect.c:111: argv[0] = "/bin/sh"; sshconnect.c:118: execv("/bin/sh", argv); sshconnect.c:119: perror("/bin/sh"); The problem is that this hard...