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 309604 Details for
Bug 450262
usermod/useradd may inadvertently give access to group root
[?]
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.
fix candidate
shadow-4.0.17-groupRoot.patch (text/x-patch), 1.08 KB, created by
Peter Vrabec
on 2008-06-17 12:01:07 UTC
(
hide
)
Description:
fix candidate
Filename:
MIME Type:
Creator:
Peter Vrabec
Created:
2008-06-17 12:01:07 UTC
Size:
1.08 KB
patch
obsolete
>diff -up shadow-4.0.17/src/useradd.c.groupRoot shadow-4.0.17/src/useradd.c >--- shadow-4.0.17/src/useradd.c.groupRoot 2008-06-17 12:47:22.000000000 +0200 >+++ shadow-4.0.17/src/useradd.c 2008-06-17 12:47:22.000000000 +0200 >@@ -213,7 +213,7 @@ static struct group *getgr_nam_gid (cons > return grp; > > gid = strtol (grname, &errptr, 10); >- if (*errptr || errno == ERANGE || gid < 0) { >+ if (*grname == '\0' || *errptr || errno == ERANGE || gid < 0) { > fprintf (stderr, > _("%s: invalid numeric argument '%s'\n"), Prog, grname); > exit (E_BAD_ARG); >diff -up shadow-4.0.17/src/usermod.c.groupRoot shadow-4.0.17/src/usermod.c >--- shadow-4.0.17/src/usermod.c.groupRoot 2008-06-17 12:48:08.000000000 +0200 >+++ shadow-4.0.17/src/usermod.c 2008-06-17 12:48:29.000000000 +0200 >@@ -172,7 +172,7 @@ static struct group *getgr_nam_gid (cons > return grp; > > val = strtol (grname, &errptr, 10); >- if (*errptr || errno == ERANGE || val < 0) { >+ if (*grname == '\0' || *errptr || errno == ERANGE || val < 0) { > fprintf (stderr, _("%s: invalid numeric argument '%s'\n"), Prog, > grname); > exit (E_BAD_ARG);
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 Raw
Actions:
View
Attachments on
bug 450262
: 309604