Re: [tkined] ntping problem

Erik Schoenfelder (schoenfr@gaertner.de)
Wed, 23 Dec 1998 10:41:06 +0100 (MET)

Hi,

MHB> I've installed successfully Scotty 2.1.9 on Sun Solaris 2.2.6.

MHB> When I tried to launch "ntping" in Scotty shell, I got
MHB> following error message

MHB> ntping: warning: running with euid 5650 -- not with root permissions.
MHB> ntping: warning: expect missing permissions getting the icmp socket.
MHB> ntping: cannot get icmp socket; reason: Permission denied
MHB> child process exited abnormally

MHB> What's wrong with my installation?

ntping needs to run with uid 0, the uid of the root user.

the error message indicates, that it is run with user rights (user id
5650).

the make sinstall as root should install appropriate permissions; eg:

> % ls -l /usr/local/bin/ntping
> -rwsr-xr-x 1 root other 24396 Dec 15 12:27 /usr/local/bin/ntping

^^^ ^^^^

another problem could be the installation to a nfs-mounted partition,
which is mounted with the option nosuid making the s-bit invalid.

then you have to reinstall with another --prefix (or change the
mount-options).

i hope this helps,
Erik

--
!! This message is brought to you via the `tkined & scotty' mailing list.
!! Please do not reply to this message to unsubscribe. To subscribe or
!! unsubscribe, send a mail message to <tkined-request@ibr.cs.tu-bs.de>.
!! See http://wwwsnmp.cs.utwente.nl/~schoenw/scotty/ for more information.