ssh & control groups

Bert Wesarg bert.wesarg at googlemail.com
Sat Jun 2 04:34:59 EST 2012


Hi,

On Fri, Jun 1, 2012 at 9:50 AM, Ondrej Valousek <ondrejv at s3group.com> wrote:
> Hi List,
>
> I am looking for an option for sshd to start user's shell (when logging in
> interactively to a remote host) in a control group via cgexec - so for
> example:
>
> /bin/cgexec -g <username> /bin/bash
>
> This would be extremely handy on linux Terminal servers to control users
> access to the system resources (protect system from a malicious user hogging
> the machine by running cpu/memory intensive applications).

Shouldn't this be handles by PAM. A quick search reveals this:

http://fedoraproject.org/wiki/Features/ControlGroups

Bert

>
> Is something like that possible to achieve?
> Thanks,
>
> Ondrej
>


More information about the openssh-unix-dev mailing list