|
From: Frank W. <Fra...@ct...> - 2007-05-22 12:23:02
|
On Tuesday 22 May 2007 14:14:41 Serge Leschinsky wrote: > 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 > Yep, that's what I have come up with, too.... It works! Thanks, =46rank > ------------------------------------------------------------------------- > This SF.net email is sponsored by DB2 Express > Download DB2 Express C - the FREE version of DB2 express and take > control of your XML. No limits. Just data. Click to get it now. > http://sourceforge.net/powerbar/db2/ > _______________________________________________ > Devil-linux-discuss mailing list > Dev...@li... > https://lists.sourceforge.net/lists/listinfo/devil-linux-discuss =2D-=20 _______________________________________________ Centre de Technologie de l'Education 29 avenue John F. Kennedy L-1855 Luxembourg-Kirchberg email: Fra...@ct... t=E9l.: +352 478-5973 fax: +352 333797 _______________________________________________ |