ML
    • Recent
    • Categories
    • Tags
    • Popular
    • Users
    • Groups
    • Register
    • Login

    Locating a script that you don't know the name of in Linux

    IT Discussion
    bash linux
    13
    59
    2.3k
    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.
    • wirestyle22W
      wirestyle22 @DustinB3403
      last edited by wirestyle22

      @DustinB3403 said in Locating a script that you don't know the name of in Linux:

      @wirestyle22 said in Locating a script that you don't know the name of in Linux:

      @coliver No unfortunately.

      Are there additional users on this system? If so you might need to login as them and check the history for each of them.

      The problem is that I can't. They are local accounts and there was no transfer of information. No one knows the passwords. Can't reach out to these people as they left on bad terms apparently.

      Very inconvenient

      DustinB3403D black3dynamiteB scottalanmillerS 3 Replies Last reply Reply Quote 0
      • DustinB3403D
        DustinB3403
        last edited by

        @wirestyle22 said in Locating a script that you don't know the name of in Linux:

        @DustinB3403 said in Locating a script that you don't know the name of in Linux:

        @wirestyle22 said in Locating a script that you don't know the name of in Linux:

        @coliver No unfortunately.

        Are there additional users on this system? If so you might need to login as them and check the history for each of them.

        The problem is that I can't. They are local accounts and there was no transfer of information. No one knows the passwords. Can't reach out to these people as they left on bad terms apparently.

        Very inconvenient

        So someone left / was termed?

        su root
        sudo passwd [login] [new pass]

        DashrenderD scottalanmillerS 2 Replies Last reply Reply Quote 0
        • DashrenderD
          Dashrender @DustinB3403
          last edited by

          @DustinB3403 said in Locating a script that you don't know the name of in Linux:

          @wirestyle22 said in Locating a script that you don't know the name of in Linux:

          @DustinB3403 said in Locating a script that you don't know the name of in Linux:

          @wirestyle22 said in Locating a script that you don't know the name of in Linux:

          @coliver No unfortunately.

          Are there additional users on this system? If so you might need to login as them and check the history for each of them.

          The problem is that I can't. They are local accounts and there was no transfer of information. No one knows the passwords. Can't reach out to these people as they left on bad terms apparently.

          Very inconvenient

          So someone left / was termed?

          su root
          sudo passwd [login] [new pass]

          That's what I was thinking.

          1 Reply Last reply Reply Quote 0
          • DustinB3403D
            DustinB3403 @wirestyle22
            last edited by

            @wirestyle22 said in Locating a script that you don't know the name of in Linux:

            Can't reach out to these people as they left on bad terms apparently.

            Yeah, okay, so login as root and change the user password. Why would it matter if you have to access their account now? The business gives you permission, right?

            1 Reply Last reply Reply Quote 0
            • black3dynamiteB
              black3dynamite @wirestyle22
              last edited by

              @wirestyle22 said in Locating a script that you don't know the name of in Linux:

              @DustinB3403 said in Locating a script that you don't know the name of in Linux:

              @wirestyle22 said in Locating a script that you don't know the name of in Linux:

              @coliver No unfortunately.

              Are there additional users on this system? If so you might need to login as them and check the history for each of them.

              The problem is that I can't. They are local accounts and there was no transfer of information. No one knows the passwords. Can't reach out to these people as they left on bad terms apparently.

              Very inconvenient

              You can do something like this:
              find /home/ -name .bash_history 2>/dev/null | cat .bash_history

              1 Reply Last reply Reply Quote 0
              • scottalanmillerS
                scottalanmiller @DustinB3403
                last edited by

                @DustinB3403 said in Locating a script that you don't know the name of in Linux:

                It could end in .py or any other extension.

                Or very likely, no extension at all. Most of mine don't have one.

                wirestyle22W DustinB3403D 2 Replies Last reply Reply Quote 0
                • wirestyle22W
                  wirestyle22 @scottalanmiller
                  last edited by

                  @scottalanmiller said in Locating a script that you don't know the name of in Linux:

                  @DustinB3403 said in Locating a script that you don't know the name of in Linux:

                  It could end in .py or any other extension.

                  Or very likely, no extension at all. Most of mine don't have one.

                  I create my own extensions for labeling purposes

                  1 Reply Last reply Reply Quote 0
                  • scottalanmillerS
                    scottalanmiller @wirestyle22
                    last edited by

                    @wirestyle22 said in Locating a script that you don't know the name of in Linux:

                    @DustinB3403 said in Locating a script that you don't know the name of in Linux:

                    @wirestyle22 said in Locating a script that you don't know the name of in Linux:

                    @coliver No unfortunately.

                    Are there additional users on this system? If so you might need to login as them and check the history for each of them.

                    The problem is that I can't. They are local accounts and there was no transfer of information. No one knows the passwords. Can't reach out to these people as they left on bad terms apparently.

                    Very inconvenient

                    The admin can just reset passwords or log in as people. There is never a need to know the local user account passwords (and that goes for Windows, too.)

                    DashrenderD DustinB3403D wirestyle22W 4 Replies Last reply Reply Quote 1
                    • DustinB3403D
                      DustinB3403 @scottalanmiller
                      last edited by

                      @scottalanmiller said in Locating a script that you don't know the name of in Linux:

                      @DustinB3403 said in Locating a script that you don't know the name of in Linux:

                      It could end in .py or any other extension.

                      Or very likely, no extension at all. Most of mine don't have one.

                      Doesn't that just make it annoying to run a script without knowing what language it was written in? (not that an extension is any indicator of the language used, but still).

                      scottalanmillerS 1 Reply Last reply Reply Quote 0
                      • scottalanmillerS
                        scottalanmiller @DustinB3403
                        last edited by

                        @DustinB3403 said in Locating a script that you don't know the name of in Linux:

                        @wirestyle22 said in Locating a script that you don't know the name of in Linux:

                        @DustinB3403 said in Locating a script that you don't know the name of in Linux:

                        @wirestyle22 said in Locating a script that you don't know the name of in Linux:

                        @coliver No unfortunately.

                        Are there additional users on this system? If so you might need to login as them and check the history for each of them.

                        The problem is that I can't. They are local accounts and there was no transfer of information. No one knows the passwords. Can't reach out to these people as they left on bad terms apparently.

                        Very inconvenient

                        So someone left / was termed?

                        su root
                        sudo passwd [login] [new pass]

                        Even easier...

                        sudo -i su username

                        JaredBuschJ 1 Reply Last reply Reply Quote 0
                        • DashrenderD
                          Dashrender @scottalanmiller
                          last edited by

                          @scottalanmiller said in Locating a script that you don't know the name of in Linux:

                          @wirestyle22 said in Locating a script that you don't know the name of in Linux:

                          @DustinB3403 said in Locating a script that you don't know the name of in Linux:

                          @wirestyle22 said in Locating a script that you don't know the name of in Linux:

                          @coliver No unfortunately.

                          Are there additional users on this system? If so you might need to login as them and check the history for each of them.

                          The problem is that I can't. They are local accounts and there was no transfer of information. No one knows the passwords. Can't reach out to these people as they left on bad terms apparently.

                          Very inconvenient

                          The admin can just reset passwords or log in as people. There is never a need to know the local user account passwords (and that goes for Windows, too.)

                          How do you do into Windows as another user without their password? or resetting their password to something you know?

                          DustinB3403D scottalanmillerS 2 Replies Last reply Reply Quote 0
                          • DustinB3403D
                            DustinB3403 @scottalanmiller
                            last edited by

                            @scottalanmiller said in Locating a script that you don't know the name of in Linux:

                            @wirestyle22 said in Locating a script that you don't know the name of in Linux:

                            @DustinB3403 said in Locating a script that you don't know the name of in Linux:

                            @wirestyle22 said in Locating a script that you don't know the name of in Linux:

                            @coliver No unfortunately.

                            Are there additional users on this system? If so you might need to login as them and check the history for each of them.

                            The problem is that I can't. They are local accounts and there was no transfer of information. No one knows the passwords. Can't reach out to these people as they left on bad terms apparently.

                            Very inconvenient

                            The admin can just reset passwords or log in as people. There is never a need to know the local user account passwords (and that goes for Windows, too.)

                            I do this all of the time. I get a CYA in writing and just go. Forget all about the user lol

                            1 Reply Last reply Reply Quote 0
                            • scottalanmillerS
                              scottalanmiller @DustinB3403
                              last edited by

                              @DustinB3403 said in Locating a script that you don't know the name of in Linux:

                              @scottalanmiller said in Locating a script that you don't know the name of in Linux:

                              @DustinB3403 said in Locating a script that you don't know the name of in Linux:

                              It could end in .py or any other extension.

                              Or very likely, no extension at all. Most of mine don't have one.

                              Doesn't that just make it annoying to run a script without knowing what language it was written in? (not that an extension is any indicator of the language used, but still).

                              If you were on Windows, yes. But not on Linux since you don't have any need to know what language it is in, they just run.

                              1 Reply Last reply Reply Quote 1
                              • wirestyle22W
                                wirestyle22 @scottalanmiller
                                last edited by

                                @scottalanmiller said in Locating a script that you don't know the name of in Linux:

                                @wirestyle22 said in Locating a script that you don't know the name of in Linux:

                                @DustinB3403 said in Locating a script that you don't know the name of in Linux:

                                @wirestyle22 said in Locating a script that you don't know the name of in Linux:

                                @coliver No unfortunately.

                                Are there additional users on this system? If so you might need to login as them and check the history for each of them.

                                The problem is that I can't. They are local accounts and there was no transfer of information. No one knows the passwords. Can't reach out to these people as they left on bad terms apparently.

                                Very inconvenient

                                The admin can just reset passwords or log in as people. There is never a need to know the local user account passwords (and that goes for Windows, too.)

                                I just don't know how this was setup or what it is doing. If I change the pw there is no chance that I could break something due to it being used like a service account for scripts?

                                DustinB3403D 1 Reply Last reply Reply Quote 0
                                • DustinB3403D
                                  DustinB3403 @Dashrender
                                  last edited by

                                  @Dashrender said in Locating a script that you don't know the name of in Linux:

                                  @scottalanmiller said in Locating a script that you don't know the name of in Linux:

                                  @wirestyle22 said in Locating a script that you don't know the name of in Linux:

                                  @DustinB3403 said in Locating a script that you don't know the name of in Linux:

                                  @wirestyle22 said in Locating a script that you don't know the name of in Linux:

                                  @coliver No unfortunately.

                                  Are there additional users on this system? If so you might need to login as them and check the history for each of them.

                                  The problem is that I can't. They are local accounts and there was no transfer of information. No one knows the passwords. Can't reach out to these people as they left on bad terms apparently.

                                  Very inconvenient

                                  The admin can just reset passwords or log in as people. There is never a need to know the local user account passwords (and that goes for Windows, too.)

                                  How do you do into Windows as another user without their password? or resetting their password to something you know?

                                  You'd change the password if you had to login as that user. Otherwise as the admin you'd grant yourself access to the user files.

                                  1 Reply Last reply Reply Quote 0
                                  • scottalanmillerS
                                    scottalanmiller @Dashrender
                                    last edited by

                                    @Dashrender said in Locating a script that you don't know the name of in Linux:

                                    @scottalanmiller said in Locating a script that you don't know the name of in Linux:

                                    @wirestyle22 said in Locating a script that you don't know the name of in Linux:

                                    @DustinB3403 said in Locating a script that you don't know the name of in Linux:

                                    @wirestyle22 said in Locating a script that you don't know the name of in Linux:

                                    @coliver No unfortunately.

                                    Are there additional users on this system? If so you might need to login as them and check the history for each of them.

                                    The problem is that I can't. They are local accounts and there was no transfer of information. No one knows the passwords. Can't reach out to these people as they left on bad terms apparently.

                                    Very inconvenient

                                    The admin can just reset passwords or log in as people. There is never a need to know the local user account passwords (and that goes for Windows, too.)

                                    How do you do into Windows as another user without their password? or resetting their password to something you know?

                                    net user name password

                                    DashrenderD 1 Reply Last reply Reply Quote 0
                                    • DustinB3403D
                                      DustinB3403 @wirestyle22
                                      last edited by

                                      @wirestyle22 said in Locating a script that you don't know the name of in Linux:

                                      @scottalanmiller said in Locating a script that you don't know the name of in Linux:

                                      @wirestyle22 said in Locating a script that you don't know the name of in Linux:

                                      @DustinB3403 said in Locating a script that you don't know the name of in Linux:

                                      @wirestyle22 said in Locating a script that you don't know the name of in Linux:

                                      @coliver No unfortunately.

                                      Are there additional users on this system? If so you might need to login as them and check the history for each of them.

                                      The problem is that I can't. They are local accounts and there was no transfer of information. No one knows the passwords. Can't reach out to these people as they left on bad terms apparently.

                                      Very inconvenient

                                      The admin can just reset passwords or log in as people. There is never a need to know the local user account passwords (and that goes for Windows, too.)

                                      I just don't know how this was setup or what it is doing. If I change the pw there is no chance that I could break something due to it being used like a service account for scripts?

                                      Even if it was a service, it would run with the new password just as well. If it's setup to use the user password in some config, you should be able to see that pretty easily.

                                      wirestyle22W 1 Reply Last reply Reply Quote 0
                                      • DashrenderD
                                        Dashrender @scottalanmiller
                                        last edited by

                                        @scottalanmiller said in Locating a script that you don't know the name of in Linux:

                                        @Dashrender said in Locating a script that you don't know the name of in Linux:

                                        @scottalanmiller said in Locating a script that you don't know the name of in Linux:

                                        @wirestyle22 said in Locating a script that you don't know the name of in Linux:

                                        @DustinB3403 said in Locating a script that you don't know the name of in Linux:

                                        @wirestyle22 said in Locating a script that you don't know the name of in Linux:

                                        @coliver No unfortunately.

                                        Are there additional users on this system? If so you might need to login as them and check the history for each of them.

                                        The problem is that I can't. They are local accounts and there was no transfer of information. No one knows the passwords. Can't reach out to these people as they left on bad terms apparently.

                                        Very inconvenient

                                        The admin can just reset passwords or log in as people. There is never a need to know the local user account passwords (and that goes for Windows, too.)

                                        How do you do into Windows as another user without their password? or resetting their password to something you know?

                                        net user name password

                                        Doesn't that just offer you the ability to change the password?

                                        DustinB3403D scottalanmillerS 2 Replies Last reply Reply Quote 0
                                        • DustinB3403D
                                          DustinB3403 @Dashrender
                                          last edited by

                                          @Dashrender said in Locating a script that you don't know the name of in Linux:

                                          @scottalanmiller said in Locating a script that you don't know the name of in Linux:

                                          @Dashrender said in Locating a script that you don't know the name of in Linux:

                                          @scottalanmiller said in Locating a script that you don't know the name of in Linux:

                                          @wirestyle22 said in Locating a script that you don't know the name of in Linux:

                                          @DustinB3403 said in Locating a script that you don't know the name of in Linux:

                                          @wirestyle22 said in Locating a script that you don't know the name of in Linux:

                                          @coliver No unfortunately.

                                          Are there additional users on this system? If so you might need to login as them and check the history for each of them.

                                          The problem is that I can't. They are local accounts and there was no transfer of information. No one knows the passwords. Can't reach out to these people as they left on bad terms apparently.

                                          Very inconvenient

                                          The admin can just reset passwords or log in as people. There is never a need to know the local user account passwords (and that goes for Windows, too.)

                                          How do you do into Windows as another user without their password? or resetting their password to something you know?

                                          net user name password

                                          Doesn't that just offer you the ability to change the password?

                                          No that changes the password. But you'd only ever do this if you HAD to login as SAID user. Otherwise you login as the admin and just grant yourself permissions to the user profile and files.

                                          wirestyle22W 1 Reply Last reply Reply Quote 0
                                          • wirestyle22W
                                            wirestyle22 @DustinB3403
                                            last edited by

                                            @DustinB3403 said in Locating a script that you don't know the name of in Linux:

                                            @wirestyle22 said in Locating a script that you don't know the name of in Linux:

                                            @scottalanmiller said in Locating a script that you don't know the name of in Linux:

                                            @wirestyle22 said in Locating a script that you don't know the name of in Linux:

                                            @DustinB3403 said in Locating a script that you don't know the name of in Linux:

                                            @wirestyle22 said in Locating a script that you don't know the name of in Linux:

                                            @coliver No unfortunately.

                                            Are there additional users on this system? If so you might need to login as them and check the history for each of them.

                                            The problem is that I can't. They are local accounts and there was no transfer of information. No one knows the passwords. Can't reach out to these people as they left on bad terms apparently.

                                            Very inconvenient

                                            The admin can just reset passwords or log in as people. There is never a need to know the local user account passwords (and that goes for Windows, too.)

                                            I just don't know how this was setup or what it is doing. If I change the pw there is no chance that I could break something due to it being used like a service account for scripts?

                                            Even if it was a service, it would run with the new password just as well. If it's setup to use the user password in some config, you should be able to see that pretty easily.

                                            Yeah that should be the case. Just kind of afraid because I know nothing about the host.

                                            DustinB3403D 1 Reply Last reply Reply Quote 0
                                            • 1
                                            • 2
                                            • 3
                                            • 1 / 3
                                            • First post
                                              Last post