| Summary: | 4.4.3. Configuring Servers for Enhanced Entitlements Reporting - step 6. addition: chown -R swreport:swreport /home/swreport/.ssh | ||
|---|---|---|---|
| Product: | Red Hat Satellite 5 | Reporter: | Jan Hutař <jhutar> |
| Component: | Docs Installation Guide | Assignee: | Dan Macpherson <dmacpher> |
| Status: | CLOSED CURRENTRELEASE | QA Contact: | Dan Macpherson <dmacpher> |
| Severity: | unspecified | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | 560 | CC: | cperry |
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | Bug Fix | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2013-10-11 12:38:18 UTC | Type: | Bug |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Bug Depends On: | |||
| Bug Blocks: | 924180 | ||
|
Description
Jan Hutař
2013-09-16 10:15:39 UTC
https://access.redhat.com/site/documentation/en-US/Red_Hat_Satellite/5.6/html-single/Installation_Guide/index.html Step 6 and 7 read: 6. Prepend the SAM public key content in /home/swreport/.ssh/authorized_keys with the following: command="/usr/bin/spacewalk-report $SSH_ORIGINAL_COMMAND" 7. This ensures the swreport user only uses the spacewalk-report command. Set permissions and the SELinux content on the .ssh directory and authorized_keys file for the swreport user. [root@sat56] # chown -R swreport:swreport /home/swreport/.ssh [root@sat56] # chmod 700 /home/swreport/.ssh [root@sat56] # chmod 600 /home/swreport/.ssh/authorized_keys [root@sat56] # restorecon -R /home/swreport/.ssh Looks good to myself (usage of -R is OK, since directory shouldn't have anything but standard stuff). Cliff |