Linux - Newbie This 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! |
Notices |
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.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
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.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
|
|
07-10-2003, 08:33 AM
|
#1
|
Member
Registered: Jun 2003
Distribution: Slack9, Red Hat 8.1
Posts: 117
Rep:
|
ifconfig
a simple command i use in slack9, ifconfig, is just like doing a ipconfig in win2k, it gives me all my info. Problem is, i just typed this in RH8 and it says command not found??????? i thought this was standard???
|
|
|
07-10-2003, 08:41 AM
|
#2
|
Member
Registered: Jun 2003
Location: London
Distribution: Debian Sarge & Slack 10.0
Posts: 52
Rep:
|
Try doing /sbin/ifconfig
|
|
|
07-10-2003, 08:44 AM
|
#3
|
Member
Registered: Jun 2003
Distribution: Slack9, Red Hat 8.1
Posts: 117
Original Poster
Rep:
|
awesome thanks! how do i make stuff in this dir executable from anywhere so i dont have to type it everytime?
|
|
|
07-10-2003, 08:55 AM
|
#4
|
Member
Registered: Aug 2002
Distribution: Slackware 8.1
Posts: 750
Rep:
|
There to ways:
1. put an alias in your /root/.bashrc
alias ifconfig="/sbin/ifconfig"
2. Add '/sbin' to your $PATH variable:
pico /etc/profile
#find line PATH and add ':/sbin'
|
|
|
07-10-2003, 08:56 AM
|
#5
|
Member
Registered: Jun 2003
Location: London
Distribution: Debian Sarge & Slack 10.0
Posts: 52
Rep:
|
Think you can just edit the /etc/passwd file, and add whatever additional paths you like to the end of the line that deals with your account. Think you'll have to re-logon for this to take effect...
|
|
|
07-10-2003, 12:01 PM
|
#6
|
LQ Guru
Registered: Mar 2002
Location: Salt Lake City, UT - USA
Distribution: Gentoo ; LFS ; Kubuntu ; CentOS ; Raspbian
Posts: 12,613
Rep:
|
Quote:
Originally posted by masterJ
Think you can just edit the /etc/passwd file, and add whatever additional paths you like to the end of the line that deals with your account. Think you'll have to re-logon for this to take effect...
|
/etc/passwd is for creating new users, or editing current ones by hand (this is by far the worst way for a newbie to do this, there are tools that will assist you such as useradd). I'm sure you meant /etc/profile
Cool
|
|
|
07-10-2003, 12:19 PM
|
#7
|
Member
Registered: Jun 2003
Distribution: Slack9, Red Hat 8.1
Posts: 117
Original Poster
Rep:
|
allright cool. So i want to test my firewall on my slack9 box from my RH8 virtual machine on my desktop. I want to get a packet builder/sender to test it. What should i get?
I tried apsend but cant seem to get it installed. I prefer to get one with a rpm so it will be easy to install.
Please someone answer this. I know people have to have linux firewalls and i know you peoples test it somehow before just waiting to get hacked to find out it is not working properly.
|
|
|
07-10-2003, 12:45 PM
|
#8
|
Member
Registered: Jun 2003
Location: nj
Distribution: slack10
Posts: 46
Rep:
|
also instead of aliasing every single command that happens with, you can just root with
su -
and then all of the commands that happens with (there are quite a few, like modprobe, for instance) run without a hitch
|
|
|
07-10-2003, 12:48 PM
|
#9
|
Member
Registered: Aug 2002
Distribution: Slackware 8.1
Posts: 750
Rep:
|
Hey Chad ... congratulations with your new 'job'! I am glad you will be moderating Newbie section
|
|
|
07-10-2003, 01:22 PM
|
#10
|
LQ Guru
Registered: Mar 2002
Location: Salt Lake City, UT - USA
Distribution: Gentoo ; LFS ; Kubuntu ; CentOS ; Raspbian
Posts: 12,613
Rep:
|
Quote:
Originally posted by phishintrip
allright cool. So i want to test my firewall on my slack9 box from my RH8 virtual machine on my desktop. I want to get a packet builder/sender to test it. What should i get?
I tried apsend but cant seem to get it installed. I prefer to get one with a rpm so it will be easy to install.
Please someone answer this. I know people have to have linux firewalls and i know you peoples test it somehow before just waiting to get hacked to find out it is not working properly.
|
This is considered a triple post, please choose 1 forum, the most appropriate one, and only post your question one time. Thank you.
If anyone would like to respond to this question, please do not respond in this thread, instead head over here:
http://www.linuxquestions.org/questi...threadid=71549
And reply there. This will keep all the discussion on this topic in the same place; and keep this current thread rolling.
Thanks again.
Cool
|
|
|
07-10-2003, 01:24 PM
|
#11
|
LQ Guru
Registered: Mar 2002
Location: Salt Lake City, UT - USA
Distribution: Gentoo ; LFS ; Kubuntu ; CentOS ; Raspbian
Posts: 12,613
Rep:
|
Quote:
Originally posted by nautilus_1987
Hey Chad ... congratulations with your new 'job'! I am glad you will be moderating Newbie section
|
Thank you! Please don't hijack threads, even if it is to congratulate me It helps me to keep the forum all good ya know
Cool
|
|
|
07-10-2003, 02:11 PM
|
#12
|
Member
Registered: Aug 2002
Distribution: Slackware 8.1
Posts: 750
Rep:
|
ok ok, from now on I will continue to post only answers to questions (sorry for section hijacking
|
|
|
07-10-2003, 03:39 PM
|
#13
|
Member
Registered: Jun 2003
Distribution: Slack9, Red Hat 8.1
Posts: 117
Original Poster
Rep:
|
damn all this moderating, and nobody answers the question i really need answered before my slack9 box goes on the net as my firewall.
I am sorry for double triple whatever but if you think i believe that you moderators dont have a firewall and dont test it using something then you are sadly mistaken.
So out of all the closed moderated whatever posts could somebody PLEASE PLEASE IM SORRY PRETTY PLEASE answer the question at whatever linked post whatever for me. I need an answer or i wouldn't have posted it. I know the rules. I will write them on the blackboard 100 times if you want just please answer my question which i know for a fact you have an answer because i am not stupid. you have firewalls, you test them, what do you use? If this is a qudruple post i am sorry please refer to whatver to reply properly.
|
|
|
07-10-2003, 03:45 PM
|
#14
|
Moderator
Registered: Apr 2002
Location: earth
Distribution: slackware by choice, others too :} ... android.
Posts: 23,067
|
Quote:
Originally posted by phishintrip
allright cool. So i want to test my firewall on my slack9 box from my RH8 virtual machine on my desktop. I want to get a packet builder/sender to test it. What should i get?
I tried apsend but cant seem to get it installed. I prefer to get one with a rpm so it will be easy to install.
Please someone answer this. I know people have to have linux firewalls and i know you peoples test it somehow before just waiting to get hacked to find out it is not working properly.
|
Just grab saint and nmap ... you don't need to
spew hand-carved packets at the machine...
Cheers,
Tink
|
|
|
07-10-2003, 03:54 PM
|
#15
|
Member
Registered: Jun 2003
Distribution: Slack9, Red Hat 8.1
Posts: 117
Original Poster
Rep:
|
what is saint?
THANKYOU a answer er of questions not a moderator!!!!!!!!
Thankyou again!
I am going to search for it now!
hmmmm.......maybe i should tell MasterC about saint since he doesn't know about it.
|
|
|
All times are GMT -5. The time now is 02:30 PM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|