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.
Trying to set up a firewall with iptables. Only had Linux 2 weeks. Running RH9.
Found under "Services" dialog box that ipchains was checked to run, but was listed as "incompatible with this kernel." I understand from RH website that ipchains will interfere with iptables. So I stopped ipchains and restarted iptables.
then went to terminal, changed to su
any command that I type that begins with iptables is met with an error message, "iptables command not found"
I may have stumbled upon the solution. Seems I had to be acutally logged in from the get-go as root. Typing su in the terminal window didn't do the trick. But when I logged out, returning the the RH login screen, and then logged in as root, iptables worked fine.
Originally posted by ryancw I may have stumbled upon the solution. Seems I had to be acutally logged in from the get-go as root. Typing su in the terminal window didn't do the trick. But when I logged out, returning the the RH login screen, and then logged in as root, iptables worked fine.
Thank You! I had this same problem and it was driving me crazy. I logged in as root and it works fine.
I think what you were looking for is su -
That has the same effect as logging in as root. Simply doing su by itself doesn't give you access to all of the root commands. Plus doing su - is alot easier than logging in and out every time you want to do something as root.