From: Jeff Largent <jlargent@imagelinks.com>
To: fluca1978@infinito.it
Cc: Linux Admin <linux-admin@vger.kernel.org>
Subject: Re: ping by name does not work (sometimes)
Date: Mon, 19 Jul 2004 08:46:59 -0400 [thread overview]
Message-ID: <1090241219.30552.1.camel@mcbain.imagelinks.com> (raw)
In-Reply-To: <200407161841.02110.fluca1978@infinito.it>
What are the permissions on /bin/ping??
should be root:root and 4755 for users other than root to be able to
ping.
On Fri, 2004-07-16 at 12:41, Luca Ferrari wrote:
> On Friday 16 July 2004 18:14 jim roy's cat walking on the keyboard wrote:
>
> > On 2004.07.16 06:33 Luca Ferrari wrote:
> > > On Thursday 15 July 2004 11:06 Benoit Desforges's cat walking on the
> > > keyboard
> > >
> > > wrote:
> > > > On Wed, 14 Jul 2004 17:51:42 +0200, Luca Ferrari
> > > > <fluca1978@infinito.it>
> > >
> > > wrote:
> > > > > Hi,
> > > > > I've found this problem on a suse 8.0 machine: if I try to ping a
> > > > > machine by its name the program stay locked (no messages, neither
> > > > > errors). If I ping with the IP address everything works. A problem of
> > > > > DNS? I thought this, but other users on the same machine can ping by
> > > > > a DNS name. I'm talking, of course, of non privileged users.
> > > > > Any idea?
> > > > >
> > > > > Luca
> > > > >
> > > > > --
> > > > > Luca Ferrari,
> > > > > fluca1978@infinito.it
> > > >
> > > > Are you sure that all the different users can read the /etc/host file ?
> > > > I would sugest you to check if this actualy readable by everybody. but
> > > > I may be wrong ...
> > >
> > > The file is readable by everyone
> > > -rw-r--r-- 1 root root 677 2003-10-18 11:37 /etc/hosts
> > > and furthermore the entry I'm trying to ping is not included in the file
> > > (and there's not a NIS file sharing), thus it must be requested thru DNS.
> > > Any idea?
> >
> > Are you sure the other users are using the same ping?
> >
> >
> Yes, indeed.
>
> magroup1:~ # ping cabri
> PING cabri.ing.unimo.it (155.185.48.114) from 155.185.48.60 : 56(84) bytes of
> data.
> 64 bytes from cabri.ing.unimo.it (155.185.48.114): icmp_seq=1 ttl=128
> time=19.0 ms
>
> --- cabri.ing.unimo.it ping statistics ---
> 1 packets transmitted, 1 received, 0% loss, time 0ms
> rtt min/avg/max/mdev = 19.015/19.015/19.015/0.000 ms
> magroup1:~ # which ping
> /bin/ping
>
> magroup1:~ # su - luca
> luca@magroup1:~> which ping
> /bin/ping
> luca@magroup1:~> ping cabri
>
> luca@magroup1:~>
>
> (last line due to my ^C).
>
> It's weird, isn't it?
>
> Luca
> -
> To unsubscribe from this list: send the line "unsubscribe linux-admin" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at http://vger.kernel.org/majordomo-info.html
>
next prev parent reply other threads:[~2004-07-19 12:46 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-07-14 15:51 ping by name does not work (sometimes) Luca Ferrari
2004-07-15 9:06 ` Benoit Desforges
2004-07-16 13:33 ` Luca Ferrari
2004-07-16 13:46 ` Jeff Largent
2004-07-16 14:17 ` Luca Ferrari
2004-07-16 16:14 ` jim roy
2004-07-16 16:41 ` Luca Ferrari
2004-07-19 12:46 ` Jeff Largent [this message]
2004-07-19 14:10 ` Luca Ferrari
2004-07-21 16:31 ` Luca Ferrari
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1090241219.30552.1.camel@mcbain.imagelinks.com \
--to=jlargent@imagelinks.com \
--cc=fluca1978@infinito.it \
--cc=linux-admin@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.