how to prevent /etc/profile.d/ files from returning