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

    Securing Linux - CentOS7

    IT Discussion
    centos 7 security
    9
    33
    5.5k
    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.
    • stacksofplatesS
      stacksofplates
      last edited by

      SELinux writes logs to the /var/log/audit/audit.log file, if auditd isn't running then its the /var/log/messages. If you check the logs, it pretty much tells you what you need to do to allow your service.

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

        Do you guys have any great resources for CentOS? If not, do you have any book recommendations? I need a lot of reading material.

        Reid CooperR 1 Reply Last reply Reply Quote 0
        • Reid CooperR
          Reid Cooper @wirestyle22
          last edited by

          @wirestyle22 said:

          Do you guys have any great resources for CentOS? If not, do you have any book recommendations? I need a lot of reading material.

          Have you been following SAM's new Linux guide? That's CentOS.

          http://mangolassi.it/topic/7825/sam-learning-linux-system-administration

          scottalanmillerS 1 Reply Last reply Reply Quote 4
          • scottalanmillerS
            scottalanmiller @Reid Cooper
            last edited by

            @Reid-Cooper said:

            @wirestyle22 said:

            Do you guys have any great resources for CentOS? If not, do you have any book recommendations? I need a lot of reading material.

            Have you been following SAM's new Linux guide? That's CentOS.

            http://mangolassi.it/topic/7825/sam-learning-linux-system-administration

            I hear that it comes highly recommended.

            coliverC wirestyle22W 2 Replies Last reply Reply Quote 5
            • coliverC
              coliver @scottalanmiller
              last edited by

              @scottalanmiller said:

              @Reid-Cooper said:

              @wirestyle22 said:

              Do you guys have any great resources for CentOS? If not, do you have any book recommendations? I need a lot of reading material.

              Have you been following SAM's new Linux guide? That's CentOS.

              http://mangolassi.it/topic/7825/sam-learning-linux-system-administration

              I hear that it comes highly recommended.

              There may be a bit of bias there.

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

                @scottalanmiller said:

                @Reid-Cooper said:

                @wirestyle22 said:

                Do you guys have any great resources for CentOS? If not, do you have any book recommendations? I need a lot of reading material.

                Have you been following SAM's new Linux guide? That's CentOS.

                http://mangolassi.it/topic/7825/sam-learning-linux-system-administration

                I hear that it comes highly recommended.

                I will certainly check it out. I'm building my Linux Test Environment Server. I'm going to use it for a myriad of things.

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

                  I am trying hard to keep several new articles coming each week.

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

                    @scottalanmiller said:

                    I am trying hard to keep several new articles coming each week.

                    I appreciate that greatly. I'll be updating my progress and I'm sure I'll be asking a lot of questions to break everything down and provide hypotheticals.

                    1 Reply Last reply Reply Quote 1
                    • stacksofplatesS
                      stacksofplates
                      last edited by

                      If you're running Fedora, there is an SELinux Troubleshooter tool that comes in really handy. I just moved my KVM images to a different folder. I had to change the context of the folder to allow KVM to read the images. As soon as the error happened, I got a notification from the troubleshooter. Highlighted is the commands you need to allow the action.

                      0_1455063744342_selinux.png

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

                        What about users?
                        At the moment I don't create a new user I just use root with a strong password.

                        Can I "link" Linux with out AD and user our usernames and passwords that way (but limit how i.e. just the IT Dept?)? Or should I create new local users on the Linux machines?

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

                          @hobbit666 said:

                          What about users?
                          At the moment I don't create a new user I just use root with a strong password.

                          Can I "link" Linux with out AD and user our usernames and passwords that way (but limit how i.e. just the IT Dept?)? Or should I create new local users on the Linux machines?

                          Really depends on how you plan to use the system.

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

                            @scottalanmiller said:

                            @hobbit666 said:

                            What about users?
                            At the moment I don't create a new user I just use root with a strong password.

                            Can I "link" Linux with out AD and user our usernames and passwords that way (but limit how i.e. just the IT Dept?)? Or should I create new local users on the Linux machines?

                            Really depends on how you plan to use the system.

                            At the moment its one VM for FOG and another VM for SnipeIT

                            1 Reply Last reply Reply Quote 0
                            • stacksofplatesS
                              stacksofplates @hobbit666
                              last edited by

                              @hobbit666 said:

                              What about users?
                              At the moment I don't create a new user I just use root with a strong password.

                              Can I "link" Linux with out AD and user our usernames and passwords that way (but limit how i.e. just the IT Dept?)? Or should I create new local users on the Linux machines?

                              If you're only going to have a few Linux boxes its probably easier to just script the user/key creation.

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

                                thinking about it ...... it's more the backend I guess as FOG and SnipeIT (soon to be Zabbix and Unifi as well) all have there own User control. So more for running yum update command once in a while

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

                                  @hobbit666 said:

                                  thinking about it ...... it's more the backend I guess as FOG and SnipeIT (soon to be Zabbix and Unifi as well) all have there own User control. So more for running yum update command once in a while

                                  Yeah, UNIX logins are actually not all that common for end users. We have them, but it is because we use Linux as terminal servers.

                                  StrongBadS 1 Reply Last reply Reply Quote 2
                                  • StrongBadS
                                    StrongBad @scottalanmiller
                                    last edited by

                                    @scottalanmiller I almost never use them. A few service accounts and that's about it.

                                    1 Reply Last reply Reply Quote 1
                                    • 1
                                    • 2
                                    • 2 / 2
                                    • First post
                                      Last post