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 595232 Details for
Bug 800319
Invocation of useradd without specifying a UID
[?]
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]
Proposed patch to fix the uid/gid creation
tog-pegasus-cimsrvr-uidgid.patch (text/plain), 1.50 KB, created by
Tuomo Soini
on 2012-06-29 08:36:05 UTC
(
hide
)
Description:
Proposed patch to fix the uid/gid creation
Filename:
MIME Type:
Creator:
Tuomo Soini
Created:
2012-06-29 08:36:05 UTC
Size:
1.50 KB
patch
obsolete
>diff --git a/tog-pegasus.spec b/tog-pegasus.spec >index a4f54cb..bfa5c42 100644 >--- a/tog-pegasus.spec >+++ b/tog-pegasus.spec >@@ -34,6 +34,8 @@ > %define major_ver 2.11 > %define pegasus_gid 65 > %define pegasus_uid 66 >+%define cimsrvr_gid 134 >+%define cimsrvr_uid 134 > > Version: %{major_ver}.0 > Release: 3%{?dist} >@@ -517,16 +519,17 @@ fi > if [ $1 -eq 1 ]; then > # first install: create the 'pegasus' user and group: > /usr/sbin/groupadd -g %{pegasus_gid} -f -r pegasus >/dev/null 2>&1 || :; >- /usr/sbin/useradd -u %{pegasus_uid} -r -N -M -g pegasus -s /sbin/nologin -d /var/lib/Pegasus \ >- -c "tog-pegasus OpenPegasus WBEM/CIM services" pegasus >/dev/null 2>&1 || :; >+ /usr/sbin/useradd -u %{pegasus_uid} -r -N -M -g pegasus -s /sbin/nologin \ >+ -d /var/lib/Pegasus -c "tog-pegasus OpenPegasus WBEM/CIM services" \ >+ pegasus >/dev/null 2>&1 || :; > fi > # Privilege Separation is enabled - create the 'cimsrvr' user and > # 'cimsrvr' group which are used as the context of the cimservermain process > if [ $1 -gt 0 ]; then >- /usr/sbin/groupadd cimsrvr > /dev/null 2>&1 || :; >- /usr/sbin/useradd -c "tog-pegasus OpenPegasus WBEM/CIM services" \ >- -g cimsrvr -s /sbin/nologin -r -d /var/lib/Pegasus cimsrvr \ >- > /dev/null 2>&1 || :; >+ /usr/sbin/groupadd -g %{cimsrvr_gid} -f -r cimsrvr > /dev/null 2>&1 || :; >+ /usr/sbin/useradd -u %{cimsrvr_uid} -r -N -M -g cimsrvr -s /sbin/nologin \ >+ -d /var/lib/Pegasus -c "tog-pegasus OpenPegasus WBEM/CIM services" \ >+ cimsrvr > /dev/null 2>&1 || :; > fi > :; >
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 800319
: 595232