Update 'snmp.sh'
This commit is contained in:
4
snmp.sh
4
snmp.sh
@@ -2,6 +2,10 @@
|
|||||||
|
|
||||||
# install snmp monitoring and configures it
|
# install snmp monitoring and configures it
|
||||||
|
|
||||||
|
# createUser <username> SHA "<auth password>" AES "<priv password>"
|
||||||
|
# rouser <username>
|
||||||
|
# #rwuser <username>
|
||||||
|
|
||||||
# make sure we are running as sudo
|
# make sure we are running as sudo
|
||||||
if [ "$EUID" -ne 0 ]; then
|
if [ "$EUID" -ne 0 ]; then
|
||||||
echo "Please run as root"
|
echo "Please run as root"
|
||||||
|
|||||||
Reference in New Issue
Block a user