Sunday, April 13, 2014

cagefs commands

cagefs commands
===========
$ /usr/sbin/cagefsctl --enable-all
or
$ /usr/sbin/cagefsctl --disable-all
or
$ /usr/sbin/cagefsctl --toggle-mode
That will switch the operation mode, preserving current disabled/enabled
users.

To enable individual user do:
$ /usr/sbin/cagefsctl --enable [username]

To disable individual user:
$ /usr/sbin/cagefsctl --disable [username]

To list all enabled users:
$ /usr/sbin/cagefsctl --list-enabled

No comments:

Post a Comment