kara334
asked on
How to use "su" to do a tcpdump on terminal on a mac
Hi,
I'm taking a networking class taught in linux, and I'm using the terminal shell on my Mac at home to practice.
One assignment talks about tcpdump and asks us to first use the "su" command. When I do, I'm asked for a password. I don't know what password to use. Does anyone have any ideas how to find out what password to use?
Thanks.
Kara
I'm taking a networking class taught in linux, and I'm using the terminal shell on my Mac at home to practice.
One assignment talks about tcpdump and asks us to first use the "su" command. When I do, I'm asked for a password. I don't know what password to use. Does anyone have any ideas how to find out what password to use?
Thanks.
Kara
su asks for root's(superuser) password. Do You know it?
The root password is not standard -- what's the sense in having a password then...you have to ask whoever configured the machine -- or boot single user mode and change it (but that might take a password). If you have to ask, you probably shouldn't be doing this....
You should ask whoever came up with the assignment.
Note tools like ethereal can analyze pcap files after their snooped.
You should ask whoever came up with the assignment.
Note tools like ethereal can analyze pcap files after their snooped.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ask root password from Linux class people or ask them to give tcpdump permission to your user
ASKER
Thank you. This was actually my own Mac, and a root password had never been set.
Kara
Kara
whoever maintains the machine has to provide you with a means to run tcpdump....
Is it your machine....? You should have a way to log on as root....
When you say "terminal shell on my Mac" is tcpdump on your mac?