Managing Users

Navigation:  CageFS >

Managing Users

Previous pageReturn to chapter overviewNext page

CageFS provides for two modes of operations:

 

1.Enabled for all, except those that are disabled.
2.Disabled for all, except those that are enabled.

 

Mode #1 is convenient for production operation, where you want all new users to automatically be added to CageFS.

Mode #2 is convenient while you test CageFS, as it allows you to enable it on one by one for your customers.

 

To start using CageFS you have to select one of the mode of operations:

 

$ /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

 

To list all disabled users:

 

$ /usr/sbin/cagefsctl --list-disabled

 

To see current mode of operation:

 

$ /usr/sbin/cagefsctl --display-user-mode