Bug 772745

Summary: wallaby user request
Product: Red Hat Enterprise Linux 5 Reporter: Robert Rati <rrati>
Component: setupAssignee: Ondrej Vasik <ovasik>
Status: CLOSED WONTFIX QA Contact: qe-baseos-daemons
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 5.8CC: rrati, willb
Target Milestone: rc   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
: 772746 772747 (view as bug list) Environment:
Last Closed: 2012-01-09 21:05:05 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Robert Rati 2012-01-09 20:59:34 UTC
Description of problem:
I need a user and group created for a package called wallaby.  The user and the group should both be "wallaby", and the user should have a home directory of /var/lib/wallaby.  These are used to own the wallaby service and data files.  The wallaby package currently creates the group/account with:

%pre
getent group wallaby >/dev/null || groupadd -r wallaby
getent passwd wallaby >/dev/null || \
  useradd -r -g wallaby -d %{_localstatedir}/lib/wallaby -s /sbin/nologin \
    -c "Owner of Wallaby service" wallaby
exit 0

Version-Release number of selected component (if applicable):


How reproducible:


Steps to Reproduce:
1.
2.
3.
  
Actual results:


Expected results:


Additional info:

Comment 1 Ondrej Vasik 2012-01-09 21:05:05 UTC
Unfortunately, for RHEL-5 that's not possible. We don't have free uidgid pairs which could be reserved there. Closing it WONTFIX in RHEL-5.

If you want it in RHEL-6, feel free to reopen it there. Just to make things more clear - it is perfectly fine to have dynamically allocated uid/gid for system user account, if the system account is not network facing and if is not handling/storing any sensitive data.