FreeBSD Bugzilla – Attachment 43197 Details for
Bug 67142
[nis] rpc.yppasswdd incorrectly throws errors about invalid shells with -s
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
file.diff
file.diff (text/plain), 521 bytes, created by
Russell Cloran
on 2004-05-24 23:20:16 UTC
(
hide
)
Description:
file.diff
Filename:
MIME Type:
Creator:
Russell Cloran
Created:
2004-05-24 23:20:16 UTC
Size:
521 bytes
patch
obsolete
>--- yppasswdd_server.c.orig Sun Jun 15 23:24:45 2003 >+++ yppasswdd_server.c Mon May 24 23:42:47 2004 >@@ -196,12 +196,12 @@ > * Don't allow the user to shoot himself in the foot, > * even on purpose. > */ >- if (!ok_shell(npw->pw_shell)) { >+ if (!no_chsh && !ok_shell(npw->pw_shell)) { > yp_error("%s is not a valid shell", npw->pw_shell); > return(1); > } > >- if (validchars(npw->pw_shell)) { >+ if (!no_chsh && validchars(npw->pw_shell)) { > yp_error("specified shell contains invalid characters"); > return(1); > }
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 67142
: 43197