Re: Ethereal - not sufficient permission?

From: Steve Horsley (shoot_at_the.moon)
Date: 03/23/05


Date: Wed, 23 Mar 2005 18:02:55 +0000

notgiven wrote:
> I have installed the pcap library and ethereal on a new installation
> of Mandrake Linux 10.1 (with powerpack, which is where I got the
> library and ethereal.) When I start Ethereal and attempt to perform a
> capture I get an error message saying the socket operation is not
> permitted - either I do not have sufficient permissions or maybe I
> don't have the pipes set up correctly. Do I need special permissions
> to access the library? Or what? How do I do this? I am extremely
> newbie as regards Linux.
> Thanks in advance.
>
You need root (administrator) privilege to use Ethereal - it's the
act of sniffing the network that's restricted.

Open a console window and enter the command "su" (without the
quotes). At the prompt, enter the root password. Now you have a
command prompt running with root privilege. Enter the command
"ethereal", ignore all the rubbish that scrolls by, adn you should
get a working ethereal window pop up. Don't close the command
prompt window until you have finished with ethereal, or it
will disappear again.

Use "exit" to drop out of root priv at the prompt as soon as
you can - leaving a root prompt open is dangerous (mistakes
in there have the rights to do lots of damage).

Steve



Relevant Pages

  • Re: [opensuse] Post installation queries (FIRST successful installation of Linux)
    ... I want that ease that typing 'su' changes the prompt to ... 'root' without all the times giving the password. ... keep the user account for tyro, just delete all directories except 'tyro' ... the size of my .bash-history file so if I ever forget a command, ...
    (SuSE)
  • Re: [opensuse] Post installation queries (FIRST successful installation of Linux)
    ... I want that ease that typing 'su' changes the prompt to ... 'root' without all the times giving the password. ... Oh, 'linuxworld' is not the root but has ... the size of my .bash-history file so if I ever forget a command, ...
    (SuSE)
  • Re: Loss of Sound
    ... My point was, that I take every effort to represent command line properly, ... remark is in context of command line, but user prompt in SUSE Linux is the ... To overcome this one can use copy of prompt like ... as root" to denote need for root login. ...
    (alt.os.linux.suse)
  • Re: Vector Linux anybody??
    ... >> I type in passwd, but I get a no such command reading, then it will ... >Then you either get the command line prompt ... you need to do is set a password for the root user. ...
    (alt.os.linux)
  • Re: Just installed Fedora Core 8. No root password ???
    ... I never entered any root password. ... Reboot and at the GRUB prompt move cursor to the 2nd line ... and append: 'linux single' ... installation let a situation like this happen? ...
    (linux.redhat)