James Bergeron wrote:
> Basically I am run a tclsh that cannot be run as root.  As a solution I 
> am going to use a daemon run as root with a socket open to accept 
> messages sent to it.  Seems like the only way in our implementation to 
> do this.  It's a farily complex process running in multi-layers 
> unfortunately.

The tclsh only needs to execute a command. You need the same facility 
that you use to start tcpreplay. Run

sudo tcpreplay <someoptions>

insteed of

tcpreplay <someoptions>

in your script and you should be fine. tclsh does not need to run as 
root for doing this.

Best regards,
   Lothar

-------------------------------------------------------------------------
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

Reply via email to