Re: how to start Ethereal as normal user

From: Oddbjørn Hansen (oddbjornNOSPAMhansenATyahooDOTno)
Date: 09/29/03


Date: Mon, 29 Sep 2003 22:20:06 +0200

anansi skrev:
> Hello,
> I added Etehereal to the KDE- menu with the menu editor.
> Command: /usr/X11R6/bin/ethereal.
> This works fine when I am logged in as root. When I am a normal user, it
> does not work.
> I tried to change the command to sudo -u root /usr/X11R6/bin/ethereal,
> change the sudoers file with visudo to include a line with <userid>
> <machine> /usr/X11R6/bin/ethereal.
> When logged on as user, and issue the command sudo -l, the system asks for a
> password and it says user <iserid> may run the following commands on this
> host: (root) /usr/X11R6/bin/ethereal.
> But when I click on the menu while <userid> nothing happens, I presume it
> waits for the password or has trouble with file permissions.
> How can I invoke this program as a normal user?
> I hope someone can help me on this,
> Chris
>
>

Ethereal seems to have a security check so it is not possible to run the
program using 'sudo' or setting the UID flag (chmod u+s ethereal). The only
way I have found to run Ethereal is as root. If you are logged in as a
user, you can run 'sux -' in a terminal emulator and then
/usr/X11R6/bin/ethereal.

-- 
Oddbjørn


Relevant Pages

  • Re: how to start Ethereal as normal user
    ... >I added Etehereal to the KDE- menu with the menu editor. ... >This works fine when I am logged in as root. ... When I am a normal user, ... >When logged on as user, and issue the command sudo -l, the system asks for a ...
    (alt.os.linux.suse)
  • Re: how to start Ethereal as normal user
    ... > This works fine when I am logged in as root. ... > When logged on as user, and issue the command sudo -l, the system asks for a ... > How can I invoke this program as a normal user? ... Using the menu editor, change your command line to kdesu ethereal ...
    (alt.os.linux.suse)
  • Re: user privledges
    ... > redhat 7.2 i created a user account for myself to use on a daily basis. ... > fare i have just been su - and entering the root pass. ... it started but would not install because i did ... sofware to /opt/musicmatch as a normal user. ...
    (comp.security.unix)
  • Re: jail() House Rock
    ... Think carefully about exactly what kind of privileges your clients get. ... normal user account on the main server, and root inside the jail. ...
    (FreeBSD-Security)
  • Re: [SLE] Firefox, fixed and broken again.... :-(
    ... >> through KDE as root but not as a normal user. ... But if it works for root, not for user, I ... I opened Firefox it opened fine. ... I then tried opening Firefox again - remember it ...
    (SuSE)