[sudo-users] Allowing command through pipe only
Aaron Lewis
the.warl0ck.1989 at gmail.com
Wed Jan 2 08:56:11 EST 2013
Hi,
Say I want to grant user only the permission to run (only count how
many lines in the output),
iptables -L | wc -l
But to accomplish that, I will have to grant the permission to run this command:
iptables -L
That's not secure enough, 'cause user can view the rules now, any thoughts?
--
Best Regards,
Aaron Lewis - PGP: 0xDFE6C29E ( http://keyserver.veridis.com )
Finger Print: 9482 448F C7C3 896C 1DFE 7DD3 2492 A7D0 DFE6 C29E
More information about the sudo-users
mailing list