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

    What Are You Doing Right Now

    Water Closet
    time waster
    285
    88.9k
    42.1m
    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 @scottalanmiller
      last edited by

      @scottalanmiller said in What Are You Doing Right Now:

      Daughter (five year old) woke up crying with a fever and a hugely swollen neck. On our way to the clinic.

      Hope she feels better 😞

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

        Sitting at CareNow now.

        gjacobseG 1 Reply Last reply Reply Quote 0
        • gjacobseG
          gjacobse @scottalanmiller
          last edited by

          @scottalanmiller said in What Are You Doing Right Now:

          Sitting at CareNow now.

          Warm hugs... keep us updated when you can.

          1 Reply Last reply Reply Quote 1
          • hobbit666H
            hobbit666
            last edited by

            Trying to work out how to use Linux correctly in terms of users 🙂

            CentOS7

            created a "normal" user called helpdesk but now what to install updates and stuff using yum, then install osTickets
            BUT! how to I run the stuff? Tried sudo yum update but got an error 😞

            scottalanmillerS wirestyle22W 2 Replies Last reply Reply Quote 0
            • scottalanmillerS
              scottalanmiller @hobbit666
              last edited by

              @hobbit666 said in What Are You Doing Right Now:

              Trying to work out how to use Linux correctly in terms of users 🙂

              CentOS7

              created a "normal" user called helpdesk but now what to install updates and stuff using yum, then install osTickets
              BUT! how to I run the stuff? Tried sudo yum update but got an error 😞

              Same as Windows. If you want to do admin tasks you need to be an admin.

              So you need to give them root perms. Add them to the wheel group, enable wheel in the sudoers file and use sudo.

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

                @hobbit666 usermod -aG wheel username

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

                  @wirestyle22 said in What Are You Doing Right Now:

                  @hobbit666 usermod -aG wheel username

                  I always just edit the file 🙂

                  hobbit666H 1 Reply Last reply Reply Quote 1
                  • hobbit666H
                    hobbit666 @scottalanmiller
                    last edited by

                    @scottalanmiller said in What Are You Doing Right Now:

                    @wirestyle22 said in What Are You Doing Right Now:

                    @hobbit666 usermod -aG wheel username

                    I always just edit the file 🙂

                    what file?

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

                      @hobbit666 said in What Are You Doing Right Now:

                      @scottalanmiller said in What Are You Doing Right Now:

                      @wirestyle22 said in What Are You Doing Right Now:

                      @hobbit666 usermod -aG wheel username

                      I always just edit the file 🙂

                      what file?

                      sudoers. I think the command is visudo

                      or

                      vi /etc/sudoers

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

                        @scottalanmiller said in What Are You Doing Right Now:

                        Add them to the wheel group, enable wheel in the sudoers file and use sudo.

                        That just sounds rude 🙂

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

                          @wirestyle22 said in What Are You Doing Right Now:

                          @hobbit666 said in What Are You Doing Right Now:

                          @scottalanmiller said in What Are You Doing Right Now:

                          @wirestyle22 said in What Are You Doing Right Now:

                          @hobbit666 usermod -aG wheel username

                          I always just edit the file 🙂

                          what file?

                          sudoers. I think the command is visudo

                          or

                          vi /etc/sudoers

                          Correct. visudo is the "right" way to do it. So of course I never do.

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

                            @scottalanmiller Your hard work has paid off Scott. I was right one time

                            1 Reply Last reply Reply Quote 1
                            • hobbit666H
                              hobbit666
                              last edited by

                              @wirestyle22 @scottalanmiller

                              guess as root?

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

                                @hobbit666 said in What Are You Doing Right Now:

                                @wirestyle22 @scottalanmiller

                                guess as root?

                                Yes. All admin tasks need root perms. Or else normal users could give themselves admin privs whenever they wanted.

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

                                  @scottalanmiller said in What Are You Doing Right Now:

                                  @hobbit666 said in What Are You Doing Right Now:

                                  @wirestyle22 @scottalanmiller

                                  guess as root?

                                  Yes. All admin tasks need root perms. Or else normal users could give themselves admin privs whenever they wanted.

                                  I was replying, but this

                                  1 Reply Last reply Reply Quote 0
                                  • hobbit666H
                                    hobbit666
                                    last edited by

                                    ur where the hell do I add my user to that file lol! 😄

                                    wirestyle22W scottalanmillerS 2 Replies Last reply Reply Quote 0
                                    • scottalanmillerS
                                      scottalanmiller
                                      last edited by

                                      CentOS is not a sudo by default OS so you have to set it up here. CentOS assumes that you will use root directly or will set up whatever security you plan to use. NTG scripts this to make it fast and easy along with account creation, key deployment, base packages, etc.

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

                                        @hobbit666 said in What Are You Doing Right Now:

                                        ur where the hell do I add my user to that file lol! 😄

                                        usermod -aG sudo username will add the user to the sudo group

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

                                          @hobbit666 said in What Are You Doing Right Now:

                                          ur where the hell do I add my user to that file lol! 😄

                                          You don't. You enable wheel. Scroll down and look. There are two sample lines about wheel. They are commented out. You uncomment one of them, I prefer the one that has "nopassword". Only unfomment one of them.

                                          After that wheel access works.

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

                                            wheel = admin group in Linux

                                            1 Reply Last reply Reply Quote 1
                                            • 1
                                            • 2
                                            • 1605
                                            • 1606
                                            • 1607
                                            • 1608
                                            • 1609
                                            • 4443
                                            • 4444
                                            • 1607 / 4444
                                            • First post
                                              Last post