Sam configuration command Overview
./Install_packages -- enhanced_reporting
Katello-configure -- deployment = sam -- user-pass = redhat
Chkconfig mongod on
Service Producer d start
Su-splice-s/bin/sh-c 'ssh-keygen-t rsa-f/var/lib/splice/id_rsa-sat-N ""'
Cat/var/lib/splice/id_rsa-sat.pub
RHS:
Useradd swreport
Mkdir/home/swreport/. ssh
Scp sam:/var/lib/splice/id_rsa-sat.pub/home/swreport/. ssh/authorized_keys
Add command = "/usr/bin/spacewalk-report $ SSH_ORIGINAL_COMMAND" to the authorized_keys file"
Chown-R swreport: swreport/home/swreport/. ssh
Chmod 700/home/swreport/. ssh
Chmod 600/home/swreport/. ssh/authorized_keys
Restorecon-R/home/swreport/. ssh
Gpasswd-a swreport apache
SAM:
Su-splice-s/bin/bash
Ssh-I/var/lib/splice/id_rsa-sat swreport@rhs7.example.com splice-export
Vi/etc/splice/checkin. conf
Su-splice-s/bin/bash
Spacewalk-splice-checkin