[Kamailio-Users] sipgrep as non-privileged user

Robert McNaught asteriskator at gmail.com
Wed Sep 24 20:33:37 CEST 2008


Hi,

I am using sipgrep to do sip traces on an openser/asterisk.  I am find
this great for getting readable traces - previously ngrep was
difficult to read.

However, to use sipgrep, I need to  be logged in as the linux root
user.  I can change the PATH of an admin user so that they can have
access to the command but they cannot use it as they need to be root
in order to gain access to see the network traffic.  Does anyone know
of a way to do this?  Is it normal to have engineers continually log
in as root to take these traces - it seems awful dangerous?  I know
you could log in as a non-prileged user and put in sudo sipgrep -f xxx
-t xxx, but not sure if people are actually doing this in production
systems, or have a workaround?

Thanks

Robert




More information about the Users mailing list