Commit 8617688a authored by Leigh B. Stoller's avatar Leigh B. Stoller

Clear syslog to @users from /etc/syslog.conf on both boss/ops.

parent 4824109c
......@@ -398,6 +398,13 @@ sub SetupOpsNode()
print RC "hostname=\"" . $emulabconfig{"OPSNODE"} . "." . $domain . "\"\n";
close(RC);
#
# Remove some cruft from /etc/syslog.conf
#
mysystem("cat /etc/syslog.conf | grep -v '\@users' > /tmp/syslog.conf");
mysystem("cp -pf /etc/syslog.conf /etc/syslog.conf.old ; ".
"cp /tmp/syslog.conf /etc/syslog.conf");
#
# Create a defs file. Note that this will move to boss at some point.
#
......@@ -662,6 +669,13 @@ sub SetupBossNode()
print RC "check_quotas=\"NO\"\n";
close(RC);
#
# Remove some cruft from /etc/syslog.conf
#
mysystem("cat /etc/syslog.conf | grep -v '\@users' > /tmp/syslog.conf");
mysystem("cp -pf /etc/syslog.conf /etc/syslog.conf.old ; ".
"cp /tmp/syslog.conf /etc/syslog.conf");
#
# Create a defs file. Note that this will move to boss at some point.
#
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment