Skip to contentSkip to conversation

Question on allowing other users to use tc

LARTC Cheng Kwok Wing, William 3 participants 3 messages Feb 4, 2003

lore
Share & tools
lore
#0 lore raw

Hi,

I would like to allow other user (such as apache) to use tc since I'll now working on a web interface for tc. How can I do that?? I'm using shell_exec() in php.

I've added apache to the root group and can run tc without problems. However,, when I ran tc class, it said "RTNETLINK answers: Operation not permitted".

Thanks in advance,
William

__________________________________________________
Do you Yahoo!?
Yahoo! Mail Plus - Powerful. Affordable. Sign up now.
http://mailplus.yahoo.com
_______________________________________________
LARTC mailing list / [email protected]
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/

#2 lore raw
In reply to Cheng Kwok Wing, William
Quoted 8 lines · Anoop S
Quoted 5 lines · William

Hi,

I would like to allow other user (such as apache) to use tc since I'll now working on a web interface for tc. ............

try using the "super" package.

Or set the stick-bit on the tc binary
chmod +s tc

Stef

Signature · 8 lines
[email protected]
 "Using Linux as bandwidth manager"
     http://www.docum.org/
     #lartc @ irc.oftc.net

_______________________________________________
LARTC mailing list / [email protected]
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/