On Wednesday 08 February 2006 13:19, Laurent MARTIN wrote: > > on *nix, you have to be root to open a 'raw' socket, which is > > what ping uses (a raw socket of type ICMP). > > Really? I'd never noticed this before: at the office, I'm able to > ping any machine I want from my normal user account.
I can explain this. The ping executable on my SuSE 9.3 has the SUID-bit set: [EMAIL PROTECTED]:~> ls -la /bin/ping -rwsr-xr-x 1 root root 31404 2005-03-19 20:09 /bin/ping If I remove it with "chmod u-s" (as root), then as non-root user I will get this: [EMAIL PROTECTED]:~> ping localhost ping: icmp open socket: Operation not permitted Thus, if you want to be able to ping as user on your N770, root would have to do a "chmod u+s" on the ping-executable. > I'm going to > ask our IT chief for more details on how our accounts are > configured for this. > Thank you very much for your explanation! -- --- May the Source be with you! Linux. --- --- http://www.arminwarda.mynetcologne.de/ --- secure eMail: http://www.gnupg.de/ ---
pgp5IGftELenr.pgp
Description: PGP signature
_______________________________________________ maemo-users mailing list maemo-users@maemo.org https://maemo.org/mailman/listinfo/maemo-users