- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- tcpdump run as root not as any other user
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-02-2004 09:38 PM
тАО06-02-2004 09:38 PM
I run tcpdump as root and work but not work as any other user. It doesn't work on HP-UX - I get
tcpdump: recv_ack: promisc_phys: Not owner
from tcpdump.
How to fix it?
Thanks
Alex
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-02-2004 09:48 PM
тАО06-02-2004 09:48 PM
Re: tcpdump run as root not as any other user
though i do not use tcpdump, please reply on the permission of this command:
# ls -ld /
regards.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-02-2004 09:53 PM
тАО06-02-2004 09:53 PM
Re: tcpdump run as root not as any other user
I think you have to be root on HP-UX to run tcpdump. Refer the following link:
http://ai3.asti.dost.gov.ph/sat/tcpdump.html
http://www.tcpdump.org/tcpdump_man.html
manish.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-02-2004 09:54 PM
тАО06-02-2004 09:54 PM
SolutionBasically you can add s or S bit to the executable file, but this may cause security problems.
The best way is to give root privileges for this command via sudo for all users.
HTH
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-02-2004 10:00 PM
тАО06-02-2004 10:00 PM
Re: tcpdump run as root not as any other user
Your suggestion is to give root privileges for this command via sudo for all users. How do I do?
Alex
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-02-2004 10:14 PM
тАО06-02-2004 10:14 PM
Re: tcpdump run as root not as any other user
"Reality is just a point of view." (P. K. D.)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-02-2004 10:19 PM
тАО06-02-2004 10:19 PM
Re: tcpdump run as root not as any other user
Alex
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-02-2004 10:23 PM
тАО06-02-2004 10:23 PM
Re: tcpdump run as root not as any other user
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-02-2004 11:13 PM
тАО06-02-2004 11:13 PM
Re: tcpdump run as root not as any other user
You run visudo and do something like this:
Host_Alias MAIN=yourhostname
Cmnd_Alias TCPD=/usr/local/bin/tcpdump
ALL MAIN=NOPASSWD:TCPD
Good Luck