[maemo-users] [maemo-users] Ping as user: error
From: Jim Thompson jim at netgate.comDate: Wed Feb 8 14:12:18 EET 2006
- Previous message: [maemo-users] Ping as user: error
- Next message: [maemo-users] Ping as user: error
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Laurent MARTIN wrote: > Hi! > I've installed the IPutils package on my N770 and I've noticed that > I'm not able to ping as "normal" user (aka "user"): > "ping: icmp open socket: Operation not permitted" > Things work well if I use ping as "root" user (sudo gainroot). Is this > a normal behaviour? on *nix, you have to be root to open a 'raw' socket, which is what ping uses (a raw socket of type ICMP). if you write a little 'c', you'll find you have to be root (or the program must be suid root) in order to do this: socket(AF_INET, SOCK_RAW, 1);
- Previous message: [maemo-users] Ping as user: error
- Next message: [maemo-users] Ping as user: error
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]