Announcement

Collapse
No announcement yet.

Mystery User Ossec

Collapse
This topic is closed.
X
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    #16
    OK, I found where OSSEC is located. According to user manager the home is /var/lib/dome9/ossec.
    OSSEC is shown in user management with a UID of 1001.
    Deleting this user via user manager did not work. First it offered to delete the user, the home /var/lib/dome9/ossec and the mailbox /var/mail/ossec.

    However, the system could not delete the named directories/files because neither one of them exists. Huh? But the user is still shown on the login screen.

    The above directories do not exist as of Dolphin.

    I will have to see whether anything can be done through dome9.
    It is a firewall and intrusion detection system I wanted to use while transiting to SSL and a dedicated server. We have numerous external links popping up from Russian porn sites.

    Comment


      #17
      Uninstalling dome0 ( did you use the --purge option?) should have removed directories and config files (not in your account dir, though). Besides using "Users" in Settings you can use deluser (also called userdel) in a Konsole.
      sudo deluser OSSEC

      If you get an error check with the man pages. I haven't use these terminal commands in years.

      EDIT: I looked up a web page: http://www.debianadmin.com/users-and....html#more-106
      Last edited by GreyGeek; Jan 13, 2015, 07:25 PM. Reason: Supply manpage url
      "A nation that is afraid to let its people judge the truth and falsehood in an open market is a nation that is afraid of its people.”
      – John F. Kennedy, February 26, 1962.

      Comment


        #18
        GreyGeek,
        I used --purge. The files are gone. But the icon remains on the login screen.
        Used your delete suggestion.
        Result:

        sudo deluser OSSEC
        [sudo] password for pete:
        /usr/sbin/deluser: The user `OSSEC' does not exist.
        pete@pj:~$

        But the icon clutters my desktop.

        I thank you and all who gave me advice. Though OSSEC does not want to leave me to my fate, I consider the issue solved.

        Comment


          #19
          Originally posted by PJJ View Post
          sudo deluser OSSEC
          [sudo] password for pete:
          /usr/sbin/deluser: The user `OSSEC' does not exist.
          usernames are case sensitive, and considering the user's home directory was /var/lib/dome9/ossec, the actual username is probably ossec and not OSSEC (OSSEC can be the "full name" of the user in question and shown on the login screen).

          so I'd try "sudo deluser ossec" to try to remove the user.

          Comment


            #20
            kubicle is right. I used "OSSEC" because in your first post you stated
            I discovered a mystery user named OSSEC on the login screen. I did not create this user.
            , and assumed that the app used upper case in the name, as you listed it.
            "A nation that is afraid to let its people judge the truth and falsehood in an open market is a nation that is afraid of its people.”
            – John F. Kennedy, February 26, 1962.

            Comment


              #21
              That got rid of the icon:

              sudo deluser ossec
              [sudo] password for pete:
              Removing user `ossec' ...
              Warning: group `ossec' has no more members.
              Done.

              No more icon on login screen. Problem solved.
              Thank you all.

              Comment


                #22
                Originally posted by PJJ View Post
                Warning: group `ossec' has no more members.
                if you also want to remove the left over primary group for ossec (which is now empty), you can run "sudo delgroup ossec"

                Comment


                  #23
                  I did not see the group 'ossec' at all.
                  Ran:

                  sudo delgroup ossec
                  [sudo] password for pete:
                  The group `ossec' does not exist.

                  That's it. No ossec/OSSEC or group ossec any longer.

                  I wanted to use 'ossec' for intrusion detection. But it interfered with other firewall(s) already in place. CloudFlare is one of them.

                  Thanks again for the valuable assistance.

                  Comment

                  Working...
                  X