[Mageia-sysadm] Setup for rabbit

Olivier Blin mageia at blino.org
Thu Jan 13 00:31:47 CET 2011


Michael Scherer <misc at zarb.org> writes:

> Le mercredi 12 janvier 2011 à 13:26 +0000, Pascal Terjan a écrit :
>> On Wed, Jan 12, 2011 at 13:19, Anne nicolas <ennael1 at gmail.com> wrote:
>> > also general bcd  prequire is
>> >
>> > user ALL=(root) NOPASSWD:/bin/mount, /bin/umount, \
>> > /usr/sbin/chroot, \
>> > /usr/sbin/urpmi, \
>> > /usr/sbin/urpmi.addmedia, \
>> > /usr/sbin/urpmi.removemedia, \
>> > /bin/rm
>> 
>> That's more than enough to get root in many different ways, each of
>> urpmi, chroot and mount being enough, "sudo chroot /" being the
>> easiest way :)
>
> And rm as sudo, mhhh 
>
> What about setting a vm for that ?

You can reuse the iurt wrapper instead of all these sudo calls.
It performs the checks on the target dirs.

-- 
Olivier Blin - blino


More information about the Mageia-sysadm mailing list