From: Serge L. <fi...@in...> - 2007-05-22 12:15:03
|
Hi, Frank Weis wrote: > I would like to give access to iptraf to a local user, but nothing more. I > tried to give him "/usr/sbin/iptraf" as a login shell, but that fails with: It's just an idea. Use small script as login shell, where your type something like this: ---- #!/bin/sh sudo /usr/sbin/iptraf exit 0; ---- Modify /etc/sudoers to allow execute it without password request I didn't test it, but I guess it should work. -- Serge |