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

    Getting Started with CentOS7

    Scheduled Pinned Locked Moved IT Discussion
    26 Posts 4 Posters 3.0k 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.
    • ?
      A Former User @A Former User
      last edited by

      @Aaron-Studer said:

      • Add user to sudoers

      Why wouldn't you just add the user to the wheel group that's already a sudoers. No need to add users individually.

      ? 1 Reply Last reply Reply Quote 0
      • ?
        A Former User @A Former User
        last edited by

        @thecreativeone91 Good Suggestion. How do I do that?

        ? scottalanmillerS 2 Replies Last reply Reply Quote 0
        • ?
          A Former User @A Former User
          last edited by

          @Aaron-Studer said:

          @thecreativeone91 Good Suggestion. How do I do that?

          gpasswd -a username wheel

          1 Reply Last reply Reply Quote 0
          • scottalanmillerS
            scottalanmiller @A Former User
            last edited by

            @Aaron-Studer said:

            @thecreativeone91 Good Suggestion. How do I do that?

            He's correct, you "never" add users to sudoers, admin users go in wheel. Always have in UNIX. Just go into /etc/group, look for wheel and add the username(s) that you want to be admins.

            ? 1 Reply Last reply Reply Quote 0
            • ?
              A Former User
              last edited by

              Hostname and FQDN also need to be set. as well as possibly a host entry to lookup the FQDN in a public DNS server.

              ? 1 Reply Last reply Reply Quote 0
              • ?
                A Former User @A Former User
                last edited by

                @thecreativeone91 Thanks, Will add.

                1 Reply Last reply Reply Quote 0
                • ?
                  A Former User @scottalanmiller
                  last edited by A Former User

                  Don't you have to uncomment out the wheel group? or No?

                  scottalanmillerS 1 Reply Last reply Reply Quote 0
                  • scottalanmillerS
                    scottalanmiller @A Former User
                    last edited by

                    @Aaron-Studer said:

                    Don't you have to uncomment out the wheel group? or No?

                    In sudoers, yes, when on CentOS. I prefer the one that says "NOPASSWD", but you can use either.

                    ? 1 Reply Last reply Reply Quote 0
                    • ?
                      A Former User @scottalanmiller
                      last edited by

                      @scottalanmiller got it. I assuiming this would all be easy to script out?

                      scottalanmillerS 1 Reply Last reply Reply Quote 0
                      • scottalanmillerS
                        scottalanmiller @A Former User
                        last edited by

                        @Aaron-Studer said:

                        @scottalanmiller got it. I assuiming this would all be easy to script out?

                        Very

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

                          If you are going to script it, consider moving to Chef or Puppet.

                          ? 1 Reply Last reply Reply Quote 1
                          • ?
                            A Former User @scottalanmiller
                            last edited by

                            @scottalanmiller doesn't that require more overhead? I wanted something a complete n00b could do.

                            ? scottalanmillerS 2 Replies Last reply Reply Quote 0
                            • ?
                              A Former User @A Former User
                              last edited by

                              @Aaron-Studer said:

                              @scottalanmiller doesn't that require more overhead? I wanted something a complete n00b could do.

                              That doesn't let them learn.. There's no reason to script it all. if they can't manage setting it up that shouldn't be doing it.

                              ? 1 Reply Last reply Reply Quote 0
                              • ?
                                A Former User @A Former User
                                last edited by

                                @thecreativeone91 said:

                                That doesn't let them learn.. There's no reason to script it all. if they can't manage setting it up that shouldn't be doing it.

                                Right, but I also want it for my own personal use.

                                scottalanmillerS 1 Reply Last reply Reply Quote 0
                                • scottalanmillerS
                                  scottalanmiller @A Former User
                                  last edited by

                                  @Aaron-Studer said:

                                  @scottalanmiller doesn't that require more overhead? I wanted something a complete n00b could do.

                                  Then scripting wouldn't make sense either. The same arguments against Chef would rule out scripting, right?

                                  1 Reply Last reply Reply Quote 0
                                  • scottalanmillerS
                                    scottalanmiller @A Former User
                                    last edited by

                                    @Aaron-Studer said:

                                    Right, but I also want it for my own personal use.

                                    What is the goal here? What makes scripting good, manual bad and Chef too much overhead? I'm not aware of your use case so can't tell what factors are playing in.

                                    1 Reply Last reply Reply Quote 1
                                    • ?
                                      A Former User
                                      last edited by A Former User

                                      Here is the use case.

                                      Fire up a new VM - CentOS7

                                      wget the script.

                                      Run the script and have everything setup for you.

                                      Then you just need to install whatever packages so need for that server (LAMP, etc)

                                      scottalanmillerS 1 Reply Last reply Reply Quote 0
                                      • ?
                                        A Former User
                                        last edited by A Former User

                                        How do you plan on managing RSA Keys or creating passwords for the new account if using a script rather than something like puppet/chef.

                                        1 Reply Last reply Reply Quote 1
                                        • scottalanmillerS
                                          scottalanmiller @A Former User
                                          last edited by

                                          @Aaron-Studer said:

                                          Here is the use case.

                                          Fire up a new VM - CentOS7

                                          wget the script.

                                          Run the script and have everything setup for you.

                                          Then you just need to install whatever packages so need for that server (LAMP, etc)

                                          That's the solution, but not a goal. What is the goal? So make them learn a little, but not enough to know anything? But not make it completely transparent so that they have to do nothing?

                                          1 Reply Last reply Reply Quote 1
                                          • ?
                                            A Former User
                                            last edited by

                                            Puppet of Chef? What should I start with?

                                            ? scottalanmillerS 2 Replies Last reply Reply Quote 0
                                            • 1
                                            • 2
                                            • 1 / 2
                                            • First post
                                              Last post