These notes capture some sample changes needed to convert a standard machine image into one suitable for publishing on the Amazon Marketplace. Essentially, zap any users's SSH keys, passwords, and shell history. This info may be used should an '-ami' option be added to 'reset_sdp.sh' in the future. #------------------------------------------------------------------------------ sudo su - rm -rf /home/centos/.ssh/authorized_keys /root/.ssh/authorized_keys shred -u /etc/ssh/*_key /etc/ssh/*_key.pub # clear /etc/shadow perforce pw passwd -d perforce history -c exit history -c exit