VPS capabilities [message #21508] |
Wed, 10 October 2007 09:15 |
Dietmar Maurer
Messages: 52 Registered: March 2007
|
Member |
|
|
Where can I find more information about vps capabilities, i.e. what
exactly is:
NET_BIND_SERVICE
KILL
LINUX_IMMUTABLE
NET_ADMIN
SYS_CHROOT
VE_ADMIN
Is there any ocumentation about that available?
- Dietmar
|
|
|
Re: VPS capabilities [message #21515 is a reply to message #21508] |
Wed, 10 October 2007 09:41 |
dev
Messages: 1693 Registered: September 2005 Location: Moscow
|
Senior Member |
|
|
Dietmar Maurer wrote:
> Where can I find more information about vps capabilities, i.e. what
> exactly is:
>
> NET_BIND_SERVICE
> KILL
> LINUX_IMMUTABLE
> NET_ADMIN
> SYS_CHROOT
these are std linux capabilities, so you can look at any documentation related to it,
plus comments in kernel in include/linux/capability.h and kernel sources.
> VE_ADMIN
it is a restricted subset of CAP_SYS_ADMIN+CAP_NET_ADMIN capability for VE root.
it allows to do a lot of thing allowed for std root, like configuring firewalls,
network devices, etc. but not everything, e.g. VE root can't change mtrr registers,
can't issue raw SCSI commands, etc.
Thanks,
Kirill
|
|
|
|
Re: AW: VPS capabilities [message #21518 is a reply to message #21517] |
Wed, 10 October 2007 10:03 |
dev
Messages: 1693 Registered: September 2005 Location: Moscow
|
Senior Member |
|
|
Most likely there answer is - possible, but not easily.
vzctl requires access to some of vps files, global
configs, ve configs etc. Theoretically it can be fixed
and adopted (e.g. to have 2 global configs: one in VE0 for
admin VPS start and one in admin VPS; files from all VEs
can also be accessiable via bind mount to admin VE),
but on practice no one tried it.
Thanks,
Kirill
Dietmar Maurer wrote:
> Ah -i see. So it is possible to run vzctl inside a vps and do most vps
> admin tasks there?
>
> - Dietmar
>
>
>>>VE_ADMIN
>>
>>it is a restricted subset of CAP_SYS_ADMIN+CAP_NET_ADMIN capability for
>
> VE root.
>
>>it allows to do a lot of thing allowed for std root, like configuring
>
> firewalls,
>
>>network devices, etc. but not everything, e.g. VE root can't change
>
> mtrr
>
>>registers, can't issue raw SCSI commands, etc.
>
>
>
|
|
|
|
|