Bugzilla – Attachment 3210 Details for
Bug 2937
Unable to disable $MAIL setting.
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Don't set $MAIL is PAM is in use
bz2937.diff (text/plain), 481 bytes, created by
Damien Miller
on 2018-12-07 13:19:13 AEDT
(
hide
)
Description:
Don't set $MAIL is PAM is in use
Filename:
MIME Type:
Creator:
Damien Miller
Created:
2018-12-07 13:19:13 AEDT
Size:
481 bytes
patch
obsolete
>diff --git a/session.c b/session.c >index a3f0b356..ee5acff0 100644 >--- a/session.c >+++ b/session.c >@@ -1082,8 +1082,10 @@ do_setup_env(struct ssh *ssh, Session *s, const char *shell) > # endif /* HAVE_CYGWIN */ > #endif /* HAVE_LOGIN_CAP */ > >+#ifndef USE_PAM > snprintf(buf, sizeof buf, "%.200s/%.50s", _PATH_MAILDIR, pw->pw_name); > child_set_env(&env, &envsize, "MAIL", buf); >+#endif > > /* Normal systems set SHELL by default. */ > child_set_env(&env, &envsize, "SHELL", shell);
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 2937
:
3210
|
3239