-
Bug
-
Resolution: Done
-
Minor
-
None
-
None
-
False
-
-
False
-
-
-
en-US (English)
Please fill in the following information:
URL: | https://rol-factory.ole.redhat.com/rol/app/courses/rh134-9.3/pages/ch01s06 |
Reporter RHNID: | |
Section Title: | h2. Guided Exercise: Match Text in Command Output with Regular Expressions |
Issue description
Discrepancy Between Course Content and Terminal Output for Postfix Script for step 2:
2. Use the grep command to find the GID and UID for the postfix and postdrop groups and users. To do so, use the rpm -q --scripts command, which queries the information for a specific package and shows the scripts that are used as part of the installation process.
[root@servera ~]#
rpm -q --scripts postfix | grep -e 'user' -e 'group'
- Add user and groups if necessary
/usr/sbin/groupadd
-g 90 -r
postdrop
2>/dev/null
/usr/sbin/groupadd
-g 89 -r
postfix
2>/dev/null
/usr/sbin/groupadd
-g 12 -r
mail
2>/dev/null
/usr/sbin/useradd
-d /var/spool/postfix -s /sbin/nologin -g postfix -G mail -M -r -u 89
postfix
2>/dev/null setgid_group=postdrop \
Output needs to be updated.
Steps to reproduce:
Workaround:
Expected result: