Re: Recommended best practices or guides

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 29.09.20 16:33, Niranjan Rao wrote:
> Greeting,
[...]
> Are there any recommended best practices or guides to allow these kinds of granular permissions? My searches so far has revealed commands using sudo.
> 
> 
> Regards,
> 
> 
> Niranjan

Unfortunately sudo supports no regular expressions. However, with wildcards, which does work in a sudoers file, you can construct almost any command you may need. It will not look pretty, but it will work.
Use the Cmnd_Alias, avoid Asterisk!

--

 Martin

Attachment: signature.asc
Description: OpenPGP digital signature


[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux