Sponsored Content
Full Discussion: Disable snmpd for good
Operating Systems AIX Disable snmpd for good Post 302784541 by Janpol on Friday 22nd of March 2013 12:10:37 PM
Old 03-22-2013
Quote:
Originally Posted by MichaelFelt
I would run chmod 0 on the actual programs:
Code:
# ls -l /usr/sbin/snmpd*
lrwxrwxrwx 1 root system      9 Oct 18 18:59 /usr/sbin/snmpd -> snmpdv3ne
-rwxr-x--- 1 root system 363992 Oct  2 21:51 /usr/sbin/snmpd64v1
-rwxr-x--- 1 root system 335192 Oct  2 21:52 /usr/sbin/snmpdv1
-rwxr-x--- 1 root system 336148 Nov 16  2011 /usr/sbin/snmpdv3ne

better would be to customize aixpert to use
Code:
fpm

to do that for you.
I've done this, snmp won't start now and so far anything is broken Smilie

Quote:
Originally Posted by MichaelFelt
As you have spoken about RBAC check that noone has authorization to start it anyway.

Code:
michael@x054:[/home/michael]lssecattr -c /usr/sbin/snmpdv3ne
/usr/sbin/snmpdv3ne accessauths=aix.network.daemon,ALLOW_OWNER innateprivs=PV_NET_PORT,PV_DAC_R,PV_DAC_W,PV_DAC_X,PV_DAC_GID,PV_DAC_UID,PV_PROC_RAC secflags=FSF_EPS

Indeed, no user has authorization to start this.
 

10 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

snmpd daemon error

Good day I always find these error messages on /var/adm/messages it appear every 15 mn , does any body know how to stop these messages without stopping the daemon , i tried to restart the daemon by uising Kill -HUP 332 please find below the error messages that appear always in... (1 Reply)
Discussion started by: itsgeorge
1 Replies

2. AIX

snmpd modification problem

Hi Gurus, I am relatively new in AIX. I have a problem in modifying the community string in snmpd. I have edited the /etc/snmpd.conf file and changed the default community name 'public' to new one (P@@$w0rd). When I tried to query my aix server with the new string , it is not giving any... (1 Reply)
Discussion started by: helloajith
1 Replies

3. UNIX for Dummies Questions & Answers

mrtg+snmpd count traffic

i just wonder how to count total traffic and traffic on specified ports (e.g. 192.168.0.1:139 and etc.. ). How can it be done? (FreeBSD 6.2 i386) Thx. (5 Replies)
Discussion started by: hachik
5 Replies

4. Linux

Snmpd

Hello to all. For setting my MRTG i want get snmp-info with LAN interface eth0 but information about snmpd daemon very small :( (0 Replies)
Discussion started by: jess_t03
0 Replies

5. Solaris

snmpd manager question

Solaris 8 I have a question about snmpd. My software is running on one box. This box has 2 snmp managers. Is it possible to configure snmpd on my software box such that only one of the managers can perform snmpsets? I want my *redundant* snmp manager only to be able receive traps and do... (1 Reply)
Discussion started by: jalburger
1 Replies

6. HP-UX

SNMPD: need a little help.

Hi there all, I am running here an HP UX 11i v1. I got snmpd running here now. But how do I configure it so it also shows the HD's and swap and RAM's? So I can get the info back to Solarwinds Orion? All I get now is network card status. I want as many info as posible.. Thanx and... (0 Replies)
Discussion started by: draco
0 Replies

7. Shell Programming and Scripting

How to disable Enable/Disable Tab Key

Hi All, I have bash script, so what is sintax script in bash for Enable and Disable Tab Key. Thanks for your help.:( Thanks, Rico (1 Reply)
Discussion started by: carnegiex
1 Replies

8. Infrastructure Monitoring

AIX - snmpd version

Hi, I have a P595 server with AIX 5.3 and i need to know what version of snmpd i use on this: Example: On solaris i use Net-snmpd 5.4.2.1 (netsnmp-5.4.2.1-sol9-sparc-local) because i can see the package. How can i see what snmpd package is installed on the AIX? Thanks... (3 Replies)
Discussion started by: anonymouzz
3 Replies

9. Red Hat

SSL/TLS renegotiation DoS -how to disable? Is it advisable to disable?

Hi all Expertise, I have following issue to solve, SSL / TLS Renegotiation DoS (low) 222.225.12.13 Ease of Exploitation Moderate Port 443/tcp Family Miscellaneous Following is the problem description:------------------ Description The remote service encrypts traffic using TLS / SSL and... (2 Replies)
Discussion started by: manalisharmabe
2 Replies

10. Red Hat

Snmpd dying on centos7.1

Hello All, SNMPD dying after 2 mins once it started. Here is the configuration Oct 12 04:43:00 localhost systemd: Starting Simple Network Management Protocol (SNMP) Daemon.... Oct 12 04:43:00 localhost snmpd: dlopen failed: /usr/lib64/libcmaX64.so: cannot open shared object file: No such... (1 Reply)
Discussion started by: shekar777
1 Replies
iprsetup(8)						      System Manager's Manual						       iprsetup(8)

NAME
iprsetup - Internet Protocol router setup SYNOPSIS
/usr/sbin/iprsetup -s /usr/sbin/iprsetup -sd /usr/sbin/iprsetup -r /usr/sbin/iprsetup -rd /usr/sbin/iprsetup -fvalue /usr/sbin/iprsetup -fvalued /usr/sbin/iprsetup -d OPTIONS
Sets ipforwarding and ipgateway to one, which means the system functions as an IP router. This option cannot be combined with the -r option. Resets ipforwarding and ipgateway to zero, which means the system does not function as an IP router. This option cannot be com- bined with the -s and -f options. Sets ipforwarding and ipgateway to one (like the -s option), and also sets ipfirewall to one, which means the system functions as an IP firewall. Additionally, sets ipsrcroute and ipchkredirects according to the specified value. The fol- lowing table shows the valid values and their meaning: ---------------------------------------------------------- Value Meaning ---------------------------------------------------------- 0 Sets both ipsrcroute and ipchkredirects to zero 1 Sets ipsrcroute to zero and ipchkredirects to one 2 Sets ipsrcroute to one and ipchkredirects to zero 3 Sets both ipsrcroute and ipchkredirects to one ---------------------------------------------------------- This option cannot be combined with the -r option. Only application gateways for firewall services use this option. Displays the values of ipforwarding and ipgateway. The values are displayed after the values are changed when combined with the -s, -r, and -f options. DESCRIPTION
The iprsetup command sets the ipgateway and ipforwarding variables in the running kernel allowing your system to function as an Internet Protocol router. When ipfirewall variable is set to one, the following variables are also set: Indicates whether IP source-routed packets are accepted (1) or dropped immediately (0). Indicates whether ICMP Redirect messages are authenticated (1) or accepted with no authentication (0). The iprsetup command is automatically executed by netsetup when you configure your network daemons. It is also executed by the /sbin/init.d/inet script when you reboot your system or restart the network on your system. FILES
Contains the /usr/sbin/iprsetup command Contains the /usr/sbin/iprsetup command SEE ALSO
Network Administration iprsetup(8)
All times are GMT -4. The time now is 07:30 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy