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 316200 Details for
Bug 458766
usermod -Z does not change Linux / SELinux user mappings.
[?]
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]
patch against 4.1.1 to fix this
shadow-utils-4.1.1-selinux-user.patch (text/plain), 1.41 KB, created by
Michal Hlavinka
on 2008-09-09 15:40:21 UTC
(
hide
)
Description:
patch against 4.1.1 to fix this
Filename:
MIME Type:
Creator:
Michal Hlavinka
Created:
2008-09-09 15:40:21 UTC
Size:
1.41 KB
patch
obsolete
>diff -up shadow-4.1.1/src/usermod.c.selinux-user shadow-4.1.1/src/usermod.c >--- shadow-4.1.1/src/usermod.c.selinux-user 2008-09-09 17:28:45.673915250 +0200 >+++ shadow-4.1.1/src/usermod.c 2008-09-09 17:35:39.000000000 +0200 >@@ -116,6 +116,7 @@ static int > oflg = 0, /* permit non-unique user ID to be specified with -u */ > pflg = 0, /* new encrypted password */ > sflg = 0, /* new shell program */ >+ Sflg = 0, /* new selinux user */ > uflg = 0, /* specify new user ID */ > Uflg = 0; /* unlock the password */ > >@@ -967,8 +968,10 @@ static void process_flags (int argc, cha > break; > #ifdef WITH_SELINUX > case 'Z': >- if (is_selinux_enabled() > 0) >- user_selinux = optarg; >+ if (is_selinux_enabled() > 0) { >+ user_selinux = optarg; >+ Sflg++; >+ } > else { > fprintf (stderr, _("%s: -Z requires SELinux enabled kernel\n"), Prog); > exit (E_BAD_ARG); >@@ -1015,7 +1018,7 @@ static void process_flags (int argc, cha > } > > if (Uflg + uflg + sflg + pflg + oflg + mflg + Lflg + lflg + Gflg + >- gflg + fflg + eflg + dflg + cflg == 0) { >+ gflg + fflg + eflg + dflg + cflg + Sflg == 0) { > fprintf (stderr, _("%s: no changes\n"), Prog); > exit (E_SUCCESS); > }
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 458766
: 316200