Thanks that 0 thing works :)
Now to convince everyone else this is a good idea ;)
Aaron Turner wrote:
On Wed, Jul 23, 2008 at 9:25 AM, James Bergeron
<[EMAIL PROTECTED]> wrote:
Thanks, unfortunately.
1) won't work ... well it would work but I'm running a process within a
process that can't be run as root.
2) Had my hopes up to find I have no /dev/bpf
3) Yeah can't do that :(
Is there a way to make a user have the same privledges as root without doing
a sudo?
Sure, edit /etc/passwd and set their userid to 0. But then you ARE root.
Look, you can't have it both ways. Linux/*BSD/OS X/Solaris/etc
require you to be root in order to send raw frames (well BSD you can
work around it by changing the perms on the /dev/bpf devices). So you
either run tcpreplay as root (via su, sudo, etc) or you hack your
kernel to remove this restriction.
-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Tcpreplay-users mailing list
Tcpreplay-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/tcpreplay-users
Support Information: http://tcpreplay.synfin.net/trac/wiki/Support