profile_user_environment
: Configure various environment settings for usersprofile_user_environment::history
: Configure default history environment for all usersprofile_user_environment::quota
: Install login scripts to run user quota commands.profile_user_environment::timeout
: Configure session timeouts for all users
Configure various environment settings for users
include profile_user_environment
Configure default history environment for all users
include profile_user_environment::history
The following parameters are available in the profile_user_environment::history
class:
Data type: String
Name of history file. This string will be prepended by either '.bash_' or '.csh_' for the actual file.
Data type: Integer
Number of history records to keep in history file.
Install login scripts to run user quota commands.
include profile_user_environment::quota
The following parameters are available in the profile_user_environment::quota
class:
Data type: Array
Paths to commands/scripts to run to display user quota information. Leave empty to NOT run any quota commands at login.
Data type: String
Run-script files will be added for various shells in /etc/profile.d/ to wrap the quota scripts. This parameter specifies the prefix for the filenames of these run-scripts. The entire name will end up being ${file_prefix}_quota.[extension]. A prefix is useful to avoid collisions and control the order of execution in relation to other scripts in /etc/profile.d/.
Data type: Array
When these users log in quota commands will NOT be run.
Data type: Integer
Each quota command is wrapped in 'timeout' and will be aborted after this number of seconds. Can be useful to prevent long "hangs" at login if there are filesystem problems.
Configure session timeouts for all users
include profile_user_environment::timeout
The following parameters are available in the profile_user_environment::timeout
class:
Data type: Integer
Number of elapsed hours to limit a ssh session. A value of <= 0 results in NO limit.
Data type: Integer
Number of minutes of idle before session times out and ends.