On Sat, Apr 28, 2012 at 11:47:07AM +0200, Patrick M. Hausen wrote: > Hi, all, > > Am 28.04.2012 um 11:39 schrieb Eugene Grosbein: > > > 28.04.2012 14:50, Zenny ??????????: > > > >>> try sudo from ports, security/sudo > >>> > >>> cheers, > >>> danny > >>> > >>> > >> Thanks Daniel, but sudo gives all (not selective) root privileges to the > >> user (admin in my case). So this is not what I am trying to achieve in my > >> original post. > > > > Please do study sudo real power :-) > > It can give selective privileges per-command, > > an d it can also allow one to run some command with some arguments only > > and not with others. Or, without any arguments only - as you tune > > its sudoers configuration file. > > > Just make sure none of the permitted commands has got the > feature of starting a shell ;-))
Right, think of vi(1), less(1), et al.
pgpP10LGeyV8H.pgp
Description: PGP signature