Huge thanks to our Platinum Members Endace and LiveAction,
and our Silver Member Veeam, for supporting the Wireshark Foundation and project.

Ethereal-dev: Re: [Ethereal-dev] Priv sep in ethereal

Note: This archive is from the project's previous web site, ethereal.com. This list is no longer active.

From: Lars Roland <lars.roland@xxxxxxx>
Date: Wed, 09 Feb 2005 10:56:55 +0100
Ulf Lamping schrieb:
Stephen Samuel (leave the email alone) wrote:

Couldn't someone write a 'withnpf' script that starts
NPF, runs ethereal and then stops NPF?

I realize that you'd still need a 'bare' ethereal for situations
where you want to run more than one instance of ethereal, but
this would be pretty good for the default situation.


Yes it would, but see below.


Similarly, are there 'start NPF' and 'stop NPF' icons available?


Not for now. The possibility to do so was come up just today (at least to my scope of knowledge) ...

Both sounds reasonable.

However, it maybe not that easy getting the current username from a script, as it's somewhat tricky on windows.

For my account that would be something like: %USERDOMAIN%\%USERNAME%. I'm unsure what it is on non domain (home) environments.

You have to know %username% of a local admin account and its password when you run the script as you will be asked for. You don't need your own username or password. A basic script would be quite simple. I just don't have the time right now.

On Win9x systems the whole thing might be useless, even runas won't be there and geting the username might differ a lot, too.

Not necessary to develop somthing for WIN OT here. Win OT doesn't know anything about user privilegies. So you can't run Ethereal or any other program as a non-priviledged process.

Regards,
Lars