Netgate Discussion Forum
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Search
    • Register
    • Login

    Strange OS Account Changes log records

    Scheduled Pinned Locked Moved General pfSense Questions
    15 Posts 4 Posters 1.7k Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • stephenw10S
      stephenw10 Netgate Administrator
      last edited by

      I see exactly the same thing on an instance I installed two days ago:

      2023-06-28 04:45:51 [root:groupadd] cyrus(60)
      2023-06-28 04:45:51 [root:useradd] cyrus(60):cyrus(60):the cyrus mail server:/nonexistent:/usr/sbin/nologin
      2023-06-28 04:45:52 [root:groupadd] messagebus(556)
      2023-06-28 04:45:52 [root:useradd] messagebus(556):messagebus(556):D-BUS Daemon User:/nonexistent:/usr/sbin/nologin
      2023-06-28 04:45:54 [root:groupadd] openvpn(301)
      2023-06-28 04:45:54 [root:useradd] openvpn(301):openvpn(301):OpenVPN pseudo-user:/nonexistent:/usr/sbin/nologin
      2023-06-28 04:45:54 [root:groupadd] dhcpd(136)
      2023-06-28 04:45:54 [root:useradd] dhcpd(136):dhcpd(136):ISC DHCP daemon:/nonexistent:/usr/sbin/nologin
      2023-10-20 22:07:43 [unknown:groupadd] all(1998)
      2023-10-20 22:07:43 [unknown:usermod] root(0):wheel(0):Charlie &:/root:/bin/sh
      2023-10-20 22:07:43 [unknown:useradd] admin(0):wheel(0):System Administrator:/root:/etc/rc.initial
      2023-10-20 22:07:43 [unknown:useradd] admin(0) home /root made
      2023-10-20 22:07:43 [unknown:groupmod] all(1998)
      2023-10-20 22:07:43 [unknown:groupadd] admins(1999)
      2023-10-20 22:23:41 [root:usermod] root(0):wheel(0):Charlie &:/root:/bin/sh
      2023-10-20 22:23:41 [root:usermod] admin(0):wheel(0):System Administrator:/root:/etc/rc.initial
      

      So I don't think this is a bug.

      W 1 Reply Last reply Reply Quote 0
      • W
        Wolfgangthegreat @stephenw10
        last edited by

        @stephenw10 The other way round... ;) it is a consistent bug...

        In my view a newly installed software, assuming the local "pc" has a correct date and time, should not have any log record that is prior to the date-time the installation started. Looks logical and basic to me.

        1 Reply Last reply Reply Quote 0
        • stephenw10S
          stephenw10 Netgate Administrator
          last edited by

          I guess you can view it like that. ๐Ÿ˜‰

          Open a bug report for discussion.

          W 1 Reply Last reply Reply Quote 1
          • W
            Wolfgangthegreat @stephenw10
            last edited by Wolfgangthegreat

            @stephenw10 Of course... https://redmine.pfsense.org/issues/14909

            1 Reply Last reply Reply Quote 0
            • jimpJ
              jimp Rebel Alliance Developer Netgate
              last edited by

              I mentioned it on the Redmine issue but I'll add it here as well: Those entries are from when the installation image itself was built for that version.

              It's normal/expected for them to have that date/time because that's when those users were added to the system as it was being built.

              Remember: Upvote with the ๐Ÿ‘ button for any user/post you find to be helpful, informative, or deserving of recognition!

              Need help fast? Netgate Global Support!

              Do not Chat/PM for help!

              W 1 Reply Last reply Reply Quote 0
              • W
                Wolfgangthegreat @jimp
                last edited by

                @jimp But why do you think is it OK to ship a product to customers with existing logs from before the installation time?

                1 Reply Last reply Reply Quote 0
                • jimpJ
                  jimp Rebel Alliance Developer Netgate
                  last edited by

                  Because it accurately reflects when those changes were made to the system accounts.

                  We could wipe that log during the installation but then the data about when those accounts were added would be lost/hidden which is worse, IMO.

                  At least until the system is updated, the log entries line up with the system and kernel build times which are easy to verify.

                  Remember: Upvote with the ๐Ÿ‘ button for any user/post you find to be helpful, informative, or deserving of recognition!

                  Need help fast? Netgate Global Support!

                  Do not Chat/PM for help!

                  W 1 Reply Last reply Reply Quote 1
                  • W
                    Wolfgangthegreat @jimp
                    last edited by

                    @jimp Thanks for your reply.
                    My view is that customers need to get a clean system, without any historical logs, which I don't see as helpful in any way, to get a clean system, but of course it is your call.

                    johnpozJ 1 Reply Last reply Reply Quote 0
                    • johnpozJ
                      johnpoz LAYER 8 Global Moderator @Wolfgangthegreat
                      last edited by

                      @Wolfgangthegreat you can just clean the log when you install.. Its a simple click of a button ;)

                      An intelligent man is sometimes forced to be drunk to spend time with his fools
                      If you get confused: Listen to the Music Play
                      Please don't Chat/PM me for help, unless mod related
                      SG-4860 24.11 | Lab VMs 2.8, 24.11

                      1 Reply Last reply Reply Quote 1
                      • jimpJ
                        jimp Rebel Alliance Developer Netgate
                        last edited by

                        It's more "clean" (as in unaltered) to leave the records as they are from the builder than to delete data for the sake of hiding it. I'd rather a system have an audit trail from the time it was built, not just when it was installed/instantiated.

                        Remember: Upvote with the ๐Ÿ‘ button for any user/post you find to be helpful, informative, or deserving of recognition!

                        Need help fast? Netgate Global Support!

                        Do not Chat/PM for help!

                        1 Reply Last reply Reply Quote 3
                        • First post
                          Last post
                        Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.