SUMMARY: 'socket' errors using ping and rlogin

From: Chris Cooper (chris@alston.3f.co.uk)
Date: Wed Oct 06 1999 - 05:23:19 CDT


Dear Managers

Many thanks to all the very many prompt replies I had to my question
which was:

> I'm getting error messages from 'socket' when using commands
> such as 'ping' and 'rlogin'. For example:
>
> % ping a.root-servers.net
> ping: socket: Permission denied
> %
>
> and
>
> % rlogin alston
> rcmd: socket: Permission denied
> %
>
> This occurs when logged on as a normal user. When logged on as
> root, the commands work OK.
>
> I'm guessing I have change some permissions somewhere, but I
> sure don't know where !
>
> The machine is a Sparc running Solaris 2.5.1.

As almost everyone said, the problem was due to the 'ping' and 'rlogin'
executables having lost their 'SUID root' file permissions. They should be

-r-sr-xr-x 1 root 18648 Jun 15 1996 /usr/sbin/ping*
-r-sr-xr-x 1 root 28800 May 3 1996 /usr/bin/login*

Thanks Again
Chris



This archive was generated by hypermail 2.1.2 : Fri Sep 28 2001 - 23:13:26 CDT