[SOLVED] Newbie Fedora Install, Need to Configure Security, No Idea What I'm Doing
Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Introduction to Linux - A Hands on Guide
This guide was created as an overview of the Linux Operating System, geared toward new users as an exploration tour and getting started guide, with exercises at the end of each chapter.
For more advanced trainees it can be a desktop reference, and a collection of the base knowledge needed to proceed with system and network administration. This book contains many real life examples derived from the author's experience as a Linux system and network administrator, trainer and consultant. They hope these examples will help you to get a better understanding of the Linux system and that you feel encouraged to try out things on your own.
Click Here to receive this Complete Guide absolutely free.
Newbie Fedora Install, Need to Configure Security, No Idea What I'm Doing
I am taking a class and we have installed Fedora on a VM. I have installed ssh and can connect to it through putty. My next task is to configure security which I don't know how to do. I've tried cd /etc/pam.d/passwd and it said "not a directory". I tried /etc/pam.d/passwd and it said permission denied yet I'm logged in as the root user.
Any help would be appreciated, I am so freakin lost on this and I have to have a LAMP server installed by Sunday, not good.....
on install it is set to "permissive" , this only gives warnings so that you can FIX the issues
then set it to ENFORCING
and the normal everyday things
disable UNUSED services in the boot "target"
also keep in mind fedora is one of the WORST!!!!! operating systems to run a Apache server on
the life span of only 13 MONTHS is way way WAY too short
and that new versions released every 6 MONTHS can be very different than the last version
RHEL or Cent are preferred -- 10 YEAR and 7 YEAR lifespan
as to setting up and configuring
( optional but NICE )
AwStats and perl
imagemagkck or Gmic
all of these ARE in the fedora 23 and 24 repos
i have always been of the mind that for the first 6 to 12 lamp installs you install everything from Source od base packages
manually inatall apache ,mariadb,phpmyadmin
this TEACHES YOU!!!! to LEARN where all the config settings are and HOW to set up a secure install of Apache
it is very very VERY easy to set up a VERY INSECURE install of Apache
and it is rather COMPLEX to install a SECURE install of Apache
Security comes in two ways with Fedora (or CentOS, for that matter). I'm not sure that you have anything to do, but obviously the course will expect you to know what to do if you did.
Firstly, there's the SEL: Security Enhanced Linux. Only the Red Hat family come with that ready and running. As John said, that's managed as root user from the command line. The commands
will tell you all you need to know.
Secondly, there's the firewall, aka iptables. That is already set up (unlike Debian, which installs with it switched off!) and there's a GUI tool in the menu (in System - Administration for me) where you can see that it's on. That also has a quick configuration section, where you can open and close ports by just ticking a box: it should come with just ssh enabled and everything else shut down.