FreeBSD Bugzilla – Attachment 8705 Details for
Bug 18109
if pw_shell is empty(/bin/sh is assumed), cannot login via ssh.
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
file.diff
file.diff (text/plain), 480 bytes, created by
noroi
on 2000-04-20 12:00:01 UTC
(
hide
)
Description:
file.diff
Filename:
MIME Type:
Creator:
noroi
Created:
2000-04-20 12:00:01 UTC
Size:
480 bytes
patch
obsolete
>--- /usr/src/crypto/openssh/sshd.c Thu Mar 9 23:47:12 2000 >+++ sshd.c Thu Apr 20 19:36:28 2000 >@@ -1211,11 +1211,13 @@ > if (!pw) > return 0; > >+ if (pw->pw_shell[0] != '\0') { > /* deny if shell does not exists or is not executable */ > if (stat(pw->pw_shell, &st) != 0) > return 0; > if (!((st.st_mode & S_IFREG) && (st.st_mode & (S_IXOTH|S_IXUSR|S_IXGRP)))) > return 0; >+ } > > /* Return false if user is listed in DenyUsers */ > if (options.num_deny_users > 0) {
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 18109
: 8705