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:
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.