Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations bkrike on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Tethereal

Status
Not open for further replies.

ewaaijenberg

Technical User
Sep 6, 2002
185
NL
Has anyone been able to use the tethereal command on the S8xx0 server without root rights? With the sudo command it is also not working.

Thanks.
 
I believe you need to be sroot, unless you are on a sip server.

In a sip server the alias below shows using sudo
alias tethereal='/usr/bin/sudo /usr/sbin/tethereal'

Have you tried? "/usr/bin/tethereal"
What error is returned?
What CM version?


To be a great teacher, one does not provide answers, but methods to help your students find the answers

bsh

35 years Bell, AT&T, Lucent, Avaya
Tier 3 for 25 years and counting
 
Hi,

When we do it on a CM 4.x system we receive the error without sudo:
dadmin@S8720-2> tethereal
-bash: tethereal: command not found

When we do it with sudo we receive the following but don't know the correct password. Is this a default one?
We have also tried it with /usr/sbin/tethereal but receive the same fault like below:
We trust you have received the usual lecture from the local System
Administrator. It usually boils down to these two things:

#1) Respect the privacy of others.
#2) Think before you type.

Password:
 
in the linux world the sudo password is usually the password of the user you are logged in as.

so If I am logged in as pete and I run 'sudo tethereal' I would enter pete's password at the sudo password prompt.

the user must have access to the command in the sudo configuration (/etc/sudoers).

I tried this on my system and I do not have access to tethereal through sudo and I have not yet figured out how to edit /etc/sudoers. Maybe someone else can chime in with that info...


 
well, scratch that last bit.

on my system tethereal is located at /usr/sbin/tethereal


when I try to run it I get the following:

tethereal: There are no interfaces on which a capture can be done
 
Pete, thanks for your answer. I thing the only way is with the password, but Avaya won't give this to us.
 
On the Avaya systems the "sudo command" allows access to commands that normally only sroot login can do.
sudoers file allows some logins access to some commands via command line with sudo and no password is asked for.

example would be "sudo ftpserv on" should work, not ask for password and would fail for user if the "sudo" was left off.

Many things that can be done via web browser use sudo in the background.

The system that Petebull tried this on does not restrict the access to /usr/sbin/tethereal.. but the system configuration does not have a use for that command. He may have a newer CM version of software.

You could try uploading a compiled version of tethereal that will run on the linux kernal and put it in /var/home/defty and try to run it from there.
You would have to get a version that's already compiled for your linux.

Older systems may restrict usage because of size of output files or processor runtime issues.

A great teacher, does not provide answers, but methods to teach others "How and where to find the answers"

bsh

35 years Bell, AT&T, Lucent, Avaya
Tier 3 for 25 years and counting
 
I ran the command on an S8700 running ...

SOFTWARE VERSIONS

SOFTWARE VERSION
Memory Resident: R012x.02.0.111.4
Disk Resident: R012x.02.0.111.4
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top