-
Account
-
passwd <username>
-
-
SNMP
-
cat /etc/snmpd.conf | sed 's/^ (ro | rw)community <oldSnmpCommunity>/ (ro | rw)community <snmpCommunity>/' > /tmp/snmpd.conf
-
cat /etc/snmpd.conf | sed 's/^ (ro | rw)community [[:alnum:]]\\ / (ro | rw)community <snmpCommunity>/' > /tmp/snmpd.conf
-
grep -q '^ (ro | rw)community' /tmp/snmpd.conf || echo '(ro | rw)community <snmpCommunity> default .1' >> /tmp/snmpd.conf
-
cp -f /tmp/snmpd.conf /etc/snmpd.conf
-
/etc/bigstart/scripts/bigsnmpd-ctrl reinit
-