Bugzilla – Attachment 139 Details for
Bug 387
command="" in authorized_keys fails when sshd_config has "PermitRootLogon forced-commands-only"
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
for privsep the monitor does the special root checkings.
XU (text/plain), 1.03 KB, created by
Markus Friedl
on 2002-08-22 07:04:57 AEST
(
hide
)
Description:
for privsep the monitor does the special root checkings.
Filename:
MIME Type:
Creator:
Markus Friedl
Created:
2002-08-22 07:04:57 AEST
Size:
1.03 KB
patch
obsolete
>Index: auth1.c >=================================================================== >RCS file: /cvs/src/usr.bin/ssh/auth1.c,v >retrieving revision 1.41 >diff -u -r1.41 auth1.c >--- auth1.c 19 Jun 2002 00:27:55 -0000 1.41 >+++ auth1.c 21 Aug 2002 20:56:42 -0000 >@@ -295,7 +295,8 @@ > authctxt->user); > > /* Special handling for root */ >- if (authenticated && authctxt->pw->pw_uid == 0 && >+ if (!use_privsep && >+ authenticated && authctxt->pw->pw_uid == 0 && > !auth_root_allowed(get_authname(type))) > authenticated = 0; > >Index: auth2.c >=================================================================== >RCS file: /cvs/src/usr.bin/ssh/auth2.c,v >retrieving revision 1.94 >diff -u -r1.94 auth2.c >--- auth2.c 30 Jun 2002 21:54:16 -0000 1.94 >+++ auth2.c 21 Aug 2002 20:56:36 -0000 >@@ -195,7 +195,8 @@ > authctxt->user); > > /* Special handling for root */ >- if (authenticated && authctxt->pw->pw_uid == 0 && >+ if (!use_privsep && >+ authenticated && authctxt->pw->pw_uid == 0 && > !auth_root_allowed(method)) > authenticated = 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 387
:
139
|
225
|
230