Show
Ignore:
Timestamp:
03/26/09 13:06:55 (1 year ago)
Author:
bwhalen
Message:

Fix bug in clip that prevented cron from being able to run.

http://oss.tresys.com/projects/clip/ticket/33

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/RHEL5/kickstart/clip.ks

    r192 r274  
    424424sed -i '/^account.*auth$/ a\account\t\trequired\tpam_access.so' /etc/pam.d/sshd 
    425425sed -i '/^account.*auth$/ a\account\t\trequired\tpam_access.so' /etc/pam.d/login 
    426 echo "-:ALL EXCEPT users :ALL" >> /etc/security/access.conf 
     426cat <<-EOF >> /etc/security/access.conf 
     427#only access for root is cron 
     428+:root: cron crond 
     429-:ALL EXCEPT users :ALL 
     430EOF 
    427431adduser -G users,wheel clipuser 
    428432echo "123)(*qweASD" | passwd --stdin clipuser