Login
[x]
Log in using an account from:
Fedora Account System
Red Hat Associate
Red Hat Customer
Or login using a Red Hat Bugzilla account
Forgot Password
Login:
Hide Forgot
Create an Account
Red Hat Bugzilla – Attachment 294800 Details for
Bug 432647
luseradd, lusermod ignore some command-line arguments
[?]
New
Simple Search
Advanced Search
My Links
Browse
Requests
Reports
Current State
Search
Tabular reports
Graphical reports
Duplicates
Other Reports
User Changes
Plotly Reports
Bug Status
Bug Severity
Non-Defaults
|
Product Dashboard
Help
Page Help!
Bug Writing Guidelines
What's new
Browser Support Policy
5.0.4.rh83 Release notes
FAQ
Guides index
User guide
Web Services
Contact
Legal
This site requires JavaScript to be enabled to function correctly, please enable it.
[patch]
A patch fixing luseradd, from libuser-0.53.2.
luseradd-passwords.patch (text/plain), 1.19 KB, created by
Miloslav Trmač
on 2008-02-13 16:26:10 UTC
(
hide
)
Description:
A patch fixing luseradd, from libuser-0.53.2.
Filename:
MIME Type:
Creator:
Miloslav Trmač
Created:
2008-02-13 16:26:10 UTC
Size:
1.19 KB
patch
obsolete
>Index: luseradd.c >=================================================================== >RCS file: /usr/local/CVS/libuser/apps/luseradd.c,v >retrieving revision 1.35 >retrieving revision 1.36 >diff -u -r1.35 -r1.36 >--- luseradd.c 15 Jan 2005 14:19:53 -0000 1.35 >+++ luseradd.c 17 Jan 2005 01:13:38 -0000 1.36 >@@ -16,7 +16,7 @@ > * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. > */ > >-#ident "$Id: luseradd.c,v 1.35 2005/01/15 14:19:53 mitr Exp $" >+#ident "$Id: luseradd.c,v 1.36 2005/01/17 01:13:38 mitr Exp $" > > #ifdef HAVE_CONFIG_H > #include "config.h" >@@ -290,6 +290,26 @@ > } > > lu_hup_nscd(); >+ >+ if (userPassword != NULL) { >+ if (lu_user_setpass(ctx, ent, userPassword, FALSE, &error) >+ == FALSE) { >+ fprintf(stderr, _("Error setting password for user " >+ "%s: %s.\n"), name, >+ lu_strerror(error)); >+ return 3; >+ } >+ } >+ >+ if (cryptedUserPassword != NULL) { >+ if (lu_user_setpass(ctx, ent, cryptedUserPassword, TRUE, >+ &error) == FALSE) { >+ fprintf(stderr, _("Error setting password for user " >+ "%s: %s.\n"), name, >+ lu_strerror(error)); >+ return 3; >+ } >+ } > > /* If we don't have the the don't-create-home flag, create the user's > * home directory. */
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 432647
: 294800 |
294801