Ad Widget

Collapse

/etc/passwd has been changed

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • lnxadm-morth
    Junior Member
    • Oct 2018
    • 6

    #1

    /etc/passwd has been changed

    O/S:-RHEL 7.5
    Version:-Zabbix 4.0
    no one has change in /etc/password file but many time we are getting the alert "/etc/passwd has been changed" . kindly help us

  • dimir
    Zabbix developer
    • Apr 2011
    • 1080

    #2
    Check the modification time of the file. ssh to the host where Zabbix agent is running and execute:
    Code:
    $ ls -l /etc/passwd
    -rw-r--r-- 1 root root 2614 Apr 26  2018 /etc/passwd

    Comment

    • lnxadm-morth
      Junior Member
      • Oct 2018
      • 6

      #3
      Hi Dimir,
      Thx for replying

      [root@------------- ~]# ls -l /etc/passwd
      -rw-r--r-- 1 root root 2256 Dec 5 18:06 /etc/passwd

      yes it has been change the time stamp. but who has change the time stamp

      Comment

      • dimir
        Zabbix developer
        • Apr 2011
        • 1080

        #4
        You know it wasn't me. ;-)

        Comment

        • Atsushi
          Senior Member
          • Aug 2013
          • 2028

          #5
          Even if you do not explicitly add or remove users, users may be created for that package automatically when you install some packages.
          Did not install any package before the failure was detected?

          Comment

          • lnxadm-morth
            Junior Member
            • Oct 2018
            • 6

            #6
            Hi Atsushi,

            i did not install any package , i am not getting the point why this triggers has been occurred and who has triggered and what was the reason

            Comment


            • Atsushi
              Atsushi commented
              Editing a comment
              Please check the /var/log/audit/audit.log file.
          • lnxadm-morth
            Junior Member
            • Oct 2018
            • 6

            #7
            Hi Atsushi,

            time stamp is not showing in audit log file to check the issue

            Comment


            • Atsushi
              Atsushi commented
              Editing a comment
              Are you checking not only about the timing of detection of faults but also about 1 hour ago?

              If you do not have it in the log, please check with everyone who was accessing during the applicable time period.
          • ingus.vilnis
            Senior Member
            Zabbix Certified Trainer
            Zabbix Certified SpecialistZabbix Certified Professional
            • Mar 2014
            • 908

            #8
            If that item is configured as "Zabbix agent (active)" then multiple hosts might be misconfigured to appear as one and send data to one host in Zabbix.

            Comment

            Working...