#!/bin/bash # add invocation of pam_env to post-login actions # to pre-load kernel same page merging hook for AliEn sed '/^##pam_env_ksm {{{/,/^##pam_env_ksm }}}/d' -i /etc/pam.d/postlogin-ac cat >>/etc/pam.d/postlogin-ac <