/etc/SnmpAgent.d/snmpd.conf       에서 점검.



cat /etc/SnmpAgent.d/snmpd.conf | grep -i "get-community-name"


cat /etc/SnmpAgent.d/snmpd.conf | grep -i "set-community-name"



여기서 원하는 것만 뽑아서 체크하면 된다.

'Server > HP-UX' 카테고리의 다른 글

trustmode untrustmode 확인  (0) 2019.02.20

hp-ux에서는 trustmode와 untrustmode가 쟁점이 될 수 있다.


계속해서 update 할 것이지만, 


console에서 확인할 수 있는 방법은,


#/usr/lbin/getprpw

System is not trusted.


의 방법이 있고,


trustmode가 되면


/tcb directory에서 관리하게 된다.

따라서 

if [ -d /tcb ]; then

fi


정도로 체크 해주면 되겠다.


trustmode 인 경우 /tcb/files/auth 파일의 권한 및 소유자를 점검하고,

untrustmode 인 경우 /etc/shadow 파일의 권한 및 소유자를 점검한다.

'Server > HP-UX' 카테고리의 다른 글

SNMP Community 이름이 public, private 설정  (0) 2019.02.22

+ Recent posts