File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed
Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -716,7 +716,7 @@ echo "/usr/sbin/nologin" >> /etc/shells
716716# Configuring NTP
717717echo ' #!/bin/sh' > /etc/cron.daily/ntpdate
718718echo " $( which ntpdate) -s pool.ntp.org" >> /etc/cron.daily/ntpdate
719- chmod 775 /etc/cron.daily/ntpdate
719+ chmod 755 /etc/cron.daily/ntpdate
720720ntpdate -s pool.ntp.org
721721
722722# Setup rssh
Original file line number Diff line number Diff line change 697697# Configuring NTP
698698echo ' #!/bin/sh' > /etc/cron.daily/ntpdate
699699echo " $( which ntpdate) -s ntp.ubuntu.com" >> /etc/cron.daily/ntpdate
700- chmod 775 /etc/cron.daily/ntpdate
701- ntpdate -s ntp.ubuntu.com
700+ chmod 755 /etc/cron.daily/ntpdate
701+ ntpdate -s pool. ntp.org
702702
703703# Adding rssh
704704if [ -z " $( grep /usr/bin/rssh /etc/shells) " ]; then
You can’t perform that action at this time.
0 commit comments