public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
Search results ordered by [date|relevance]  view[summary|nested|Atom feed]
thread overview below | download: 
* Re: [gentoo-user] Allow non root users to edit files owned by root?
  @ 2011-12-22 15:46 99%       ` James Broadhead
  0 siblings, 0 replies; 1+ results
From: James Broadhead @ 2011-12-22 15:46 UTC (permalink / raw
  To: gentoo-user

On 22 December 2011 15:41, Tanstaafl <tanstaafl@libertytrek.org> wrote:
> On 2011-12-20 11:00 AM, Florian Philipp <lists@binarywings.net> wrote:
>>
>> You should probably also restrict which files can be edited (not
>> /etc/passwd, /etc/shadow or /etc/sudoers, for sure!). You can do this
>> with globs. For example:
>> %sudoroot       sudoedit/var/www/*
>
>
> Ok, just found out that subdirectories are not included when doing it this
> way, and haven't found a way to include them...
>
> Please tell me there is a way, and I won't have to explicitly define every
> subdirectory under /var/www that they will need to be able to work in...

Perhaps I missed it, but my approach to this would be to create a
'webadmin' group, and change the group of the directory (and
applicable subdirs).



^ permalink raw reply	[relevance 99%]

Results 1-1 of 1 | reverse | options above
-- pct% links below jump to the message on this page, permalinks otherwise --
2011-12-20 15:04     [gentoo-user] Allow non root users to edit files owned by root? Tanstaafl
2011-12-20 15:13     ` Michael Mol
2011-12-20 16:00       ` Florian Philipp
2011-12-22 15:41         ` Tanstaafl
2011-12-22 15:46 99%       ` James Broadhead

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox