Mailing List ArchiveSupport open source code!
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]Re: Localhost connection refused
- To: tlug@example.com
- Subject: Re: Localhost connection refused
- From: Jonathan Q <jq@example.com>
- Date: Sun, 8 Jul 2001 16:43:06 +0900
- Content-Transfer-Encoding: 7bit
- Content-Type: text/plain; charset=us-ascii
- Delivered-To: tlug@example.com
- In-Reply-To: <01070816303206.13271@example.com>; from dehoog@example.com on Sun, Jul 08, 2001 at 04:30:32PM +0900
- List-Help: <mailto:tlug-request@example.comsubject=help>
- List-Post: <mailto:tlug@example.com>
- List-Subscribe: <mailto:tlug-request@example.comsubject=subscribe>
- List-Unsubscribe: <mailto:tlug-request@example.comsubject=unsubscribe>
- Old-Return-Path: <jq@example.com>
- References: <01070814224300.13271@example.com> <01070816095504.13271@example.com> <20010708161653.L15881@example.com> <01070816303206.13271@example.com>
- Reply-To: tlug@example.com
- Resent-From: tlug@example.com
- Resent-Message-ID: <G2XU9B.A.iVC.97AS7@example.com>
- Resent-Sender: tlug-request@example.com
John De Hoog (dehoog@example.com) wrote: > > /sbin/ipchains -L -v > > I did su root. When I go to /sbin and try it, this is what we get: > > [root@example.com /sbin]# ipchains -L -v > bash: ipchains: command not found > [root@example.com /sbin]# > > But a check of the directory shows that ipchains is in fact in /sbin. Do you notice any difference between what I told you to do and what you actually did? What I told you: /sbin/ipchains -L -v What you did: cd /sbin ipchains -L -v You did su but not su - so the way you did it won't work (because you kept your own environment rather than getting the root environment), so you have to use the full path to the command. There is a third way: cd /sbin ./ipchains -L -v However, using the full path to the command is recommended. Jonathan -- There is Bag of Modul in the router
- Follow-Ups:
- Re: Localhost connection refused
- From: John De Hoog <dehoog@example.com>
- References:
- Re: Localhost connection refused
- From: John De Hoog <dehoog@example.com>
- Re: Localhost connection refused
- From: John De Hoog <dehoog@example.com>
- Re: Localhost connection refused
- From: Jonathan Q <jq@example.com>
- Re: Localhost connection refused
- From: John De Hoog <dehoog@example.com>
Home | Main Index | Thread Index
- Prev by Date: Re: Localhost connection refused
- Next by Date: Re: Localhost connection refused
- Prev by thread: Re: Localhost connection refused
- Next by thread: Re: Localhost connection refused
- Index(es):
Home Page Mailing List Linux and Japan TLUG Members Links