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

    What Are You Doing Right Now

    Scheduled Pinned Locked Moved Water Closet
    time waster
    88.9k Posts 285 Posters 42.8m 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.
    • 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
                                    • coliverC
                                      coliver @wirestyle22
                                      last edited by

                                      @wirestyle22 said in What Are You Doing Right Now:

                                      @coliver said in What Are You Doing Right Now:

                                      @wirestyle22 said in What Are You Doing Right Now:

                                      @RojoLoco said in What Are You Doing Right Now:

                                      @coliver said in What Are You Doing Right Now:

                                      Snowing today!

                                      Lucky! It's 28F here this morning, not a cloud in sight. Just cold.

                                      Not to be a Grinch, but snow is the worst. All it does is complicate my life by making my commute even worse and causing a lot of accidents.

                                      Eh people who can't drive cause accidents. Snow just identifies those people. The only time I like snow is if we have enough to go riding.

                                      I live in NJ. No one can drive here. Ask @scottalanmiller

                                      I live in NY... can't decide who is worse: NJ drivers and Massholes

                                      wirestyle22W scottalanmillerS 2 Replies Last reply Reply Quote 0
                                      • wirestyle22W
                                        wirestyle22 @coliver
                                        last edited by

                                        @coliver said in What Are You Doing Right Now:

                                        @wirestyle22 said in What Are You Doing Right Now:

                                        @coliver said in What Are You Doing Right Now:

                                        @wirestyle22 said in What Are You Doing Right Now:

                                        @RojoLoco said in What Are You Doing Right Now:

                                        @coliver said in What Are You Doing Right Now:

                                        Snowing today!

                                        Lucky! It's 28F here this morning, not a cloud in sight. Just cold.

                                        Not to be a Grinch, but snow is the worst. All it does is complicate my life by making my commute even worse and causing a lot of accidents.

                                        Eh people who can't drive cause accidents. Snow just identifies those people. The only time I like snow is if we have enough to go riding.

                                        I live in NJ. No one can drive here. Ask @scottalanmiller

                                        I live in NY... can't decide who is worse: NJ drivers and Massholes

                                        NJ Drivers. I'll save you the processing time

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

                                          @coliver said in What Are You Doing Right Now:

                                          @wirestyle22 said in What Are You Doing Right Now:

                                          @coliver said in What Are You Doing Right Now:

                                          @wirestyle22 said in What Are You Doing Right Now:

                                          @RojoLoco said in What Are You Doing Right Now:

                                          @coliver said in What Are You Doing Right Now:

                                          Snowing today!

                                          Lucky! It's 28F here this morning, not a cloud in sight. Just cold.

                                          Not to be a Grinch, but snow is the worst. All it does is complicate my life by making my commute even worse and causing a lot of accidents.

                                          Eh people who can't drive cause accidents. Snow just identifies those people. The only time I like snow is if we have enough to go riding.

                                          I live in NJ. No one can drive here. Ask @scottalanmiller

                                          I live in NY... can't decide who is worse: NJ drivers and Massholes

                                          Texans. Worst drivers I've ever seen. Rude, erratic, sloppy and SO SLOW.

                                          coliverC 1 Reply Last reply Reply Quote 0
                                          • coliverC
                                            coliver @scottalanmiller
                                            last edited by

                                            @scottalanmiller said in What Are You Doing Right Now:

                                            @coliver said in What Are You Doing Right Now:

                                            @wirestyle22 said in What Are You Doing Right Now:

                                            @coliver said in What Are You Doing Right Now:

                                            @wirestyle22 said in What Are You Doing Right Now:

                                            @RojoLoco said in What Are You Doing Right Now:

                                            @coliver said in What Are You Doing Right Now:

                                            Snowing today!

                                            Lucky! It's 28F here this morning, not a cloud in sight. Just cold.

                                            Not to be a Grinch, but snow is the worst. All it does is complicate my life by making my commute even worse and causing a lot of accidents.

                                            Eh people who can't drive cause accidents. Snow just identifies those people. The only time I like snow is if we have enough to go riding.

                                            I live in NJ. No one can drive here. Ask @scottalanmiller

                                            I live in NY... can't decide who is worse: NJ drivers and Massholes

                                            Texans. Worst drivers I've ever seen. Rude, erratic, sloppy and SO SLOW.

                                            Haven't had to drive in Texas thankfully.

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