[Mageia-sysadm] Setup for rabbit

Pascal Terjan pterjan at gmail.com
Wed Jan 12 15:03:50 CET 2011

On Wed, Jan 12, 2011 at 13:28, Anne nicolas <ennael1 at gmail.com> wrote:
> 2011/1/12 Pascal Terjan <pterjan at gmail.com>:
>> 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 :)
> Sure but for now it's all what we have to work with. The point is
> build was done internally in Mandriva. And no question to go back to
> mkcd :)

Of course, and I remember mkcd needing more than that.
I just feel strange giving several permissions via sudo when most of
them are enough to get any other

And I'm sure /usr/sbin/urpmi.addmedia and /usr/sbin/urpmi.removemedia
can be easily avoided, maybe chroot too

More information about the Mageia-sysadm mailing list