*BSD News Article 52342


Return to BSD News archive

Path: euryale.cc.adfa.oz.au!newshost.anu.edu.au!harbinger.cc.monash.edu.au!simtel!news.kei.com!news.mathworks.com!tank.news.pipex.net!pipex!howland.reston.ans.net!news.sprintlink.net!in2.uu.net!noc.near.net!das-news2.harvard.edu!cantaloupe.srv.cs.cmu.edu!rochester!udel!pooh.eecis.udel.edu!harvell
From: harvell@pooh.eecis.udel.edu (Brian Harvell)
Newsgroups: comp.unix.bsd.bsdi.misc,comp.unix.misc,comp.unix.questions
Subject: Re: Permission denied for a socket
Date: 3 Oct 1995 17:38:21 GMT
Organization: University of Delaware, Newark
Lines: 23
Message-ID: <44rsed$l7q@louie.udel.edu>
References: <44p5o5$ikq@despina.neptune.com>
NNTP-Posting-Host: pooh.eecis.udel.edu
Xref: euryale.cc.adfa.oz.au comp.unix.bsd.bsdi.misc:1121 comp.unix.misc:18731 comp.unix.questions:70536

In article <44p5o5$ikq@despina.neptune.com>,
Tom Techoueyres <tom@neptune.com> wrote:
>Hi,
>
>I have a pentium running BSDI. As root I can use the ping command, but
>my users get the following message when they try to use ping:
>ping: socket: permission denied
>Obviously it is a file permission problem but what file or socket?
>
>I will appreciate any help.
>
>Thank You
>
>Tom Techoueyres
>tom@neptune.com
>


Probably because your ping is not setuid root.  Any program that opens up a 
socket in the reserved ports has to have root perms.

Brian