Ethereal-users: RE: [Ethereal-users] Run as root not as any other user

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

From: Peter Kjellerstedt <peter.kjellerstedt@xxxxxxxx>
Date: Thu, 17 May 2001 08:12:09 +0200
> -----Original Message-----
> From: Guy Harris [mailto:guy@xxxxxxxxxx]
> Sent: Wednesday, May 16, 2001 21:05
> To: Cameron Kerr
> Cc: cody; Ethereal-users@xxxxxxxxxxxx
> Subject: Re: [Ethereal-users] Run as root not as any other user
> 
> > Set ethereal to be setuid
> > 
> > chmod +s `which ethereal`
> > 
> > Note that this could be a security risk.
> 
> Yes - see
> 
> 	http://www.gtk.org/setuid.html
> 
> It also may not work at all, depending on whether Mandrake 
> 8.0 has GTK+
> 1.2.9 or later, as the GTK+ folk have, in 1.2.9, changed GTK+ so that
> GTK+ programs will simply refuse to run at all if they're set-UID. 

Two other solutions to this are sudo and op.

//Peter