Re: Recommended best practices or guides
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
- To: users@xxxxxxxxxxxxxxxx
- Subject: Re: Recommended best practices or guides
- From: Martin Drescher <drescher@xxxxxxxxx>
- Date: Tue, 29 Sep 2020 16:47:33 +0200
- In-reply-to: <743f6003-4edf-15be-536c-54e4e1ba04fe@gmail.com>
- Reply-to: users@xxxxxxxxxxxxxxxx
- User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.10.0
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]