Restricting users from certain privileges
Patrick M. Hausen
hausen at punkt.de
Sat Apr 28 09:58:56 UTC 2012
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 ;-))
Kind regards,
Patrick
--
punkt.de GmbH * Kaiserallee 13a * 76133 Karlsruhe
Tel. 0721 9109 0 * Fax 0721 9109 100
info at punkt.de http://www.punkt.de
Gf: Jürgen Egeling AG Mannheim 108285
More information about the freebsd-stable
mailing list