Skip to content

Commit

Permalink
879094 - a few updates to katello & katello-selinux spec based on com…
Browse files Browse the repository at this point in the history
…ments
  • Loading branch information
Jordan OMara committed Jan 4, 2013
1 parent 7c08f94 commit 7879546
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion katello.spec
Original file line number Diff line number Diff line change
Expand Up @@ -709,7 +709,7 @@ getent group %{name} >/dev/null || groupadd -r %{name} -g 182
getent passwd %{name} >/dev/null || \
useradd -r -g %{name} -d %{homedir} -u 182 -s /sbin/nologin -c "Katello" %{name}
# add tomcat & katello to the katello shared group for reading sensitive files
groupadd katello-shared
getent group katello-shared > /dev/null || groupadd -r katello-shared
usermod -a -G katello-shared tomcat
usermod -a -G katello-shared katello
exit 0
Expand Down
2 changes: 1 addition & 1 deletion script/katello-generate-passphrase
Original file line number Diff line number Diff line change
Expand Up @@ -42,4 +42,4 @@ FILE=/etc/katello/secure/passphrase
PASS=$(</dev/urandom tr -dc A-Za-z0-9 | head -c 64)
echo "$PASS" > $FILE

chgrp -R katello-shared /etc/katello/secure/
chgrp katello-shared $FILE

0 comments on commit 7879546

Please sign in to comment.