By default zabbix user has now shell configured. This information can be determined with:
grep zabbix /etc/passwdThis will show:zabbix:x:997:994:Zabbix Monitoring System:/var/lib/zabbix:/sbin/nologin
I can configure the shell for zabbix user by setting "/etc/passwd" like this:zabbix:x:997:994:Zabbix Monitoring System:/var/lib/zabbix:/bin/bashBut there is another way to execute bash for user zabbix:su -s /bin/bash zabbix
No comments:
Post a Comment