Skip to content

Commit

Permalink
Fix toml
Browse files Browse the repository at this point in the history
  • Loading branch information
abhishekmj303 committed Dec 20, 2023
1 parent 9e8badd commit 30a33ea
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 1 deletion.
7 changes: 6 additions & 1 deletion config/sampleconfig.toml
Original file line number Diff line number Diff line change
Expand Up @@ -117,8 +117,9 @@ enable_max_sessions = true
max_sessions = 10
enable_login_grace_time = true
login_grace_time = 60 # in seconds
enable_client_alive = true
enable_client_alive_interval = true
client_alive_interval = 300 # in seconds
enable_client_alive_count_max = true
client_alive_count_max = 3

[privilege_escalation] # Privilege Escalation
Expand All @@ -129,3 +130,7 @@ enable_reauthentication = true
enable_authentication_timeout = true
authentication_timeout = 15 # in minutes
restrict_su = true

[pam] # PAM
required_password_level = "strong" # weak, medium, strong, stronger
minimum_password_length = 14
11 changes: 11 additions & 0 deletions config/tooltip.toml
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@ mode = "enforces the SELinux policy and denies access based on SELinux policy ru
[gdm] # GNOME Display Manager
remove = "Uninstalls the desktop environment "
disable_user_list = "controls if a list of users is displayed on the login screen."
enable_lock_on_idle = "true"
lock_on_idle = "screen inactivity idle time interval"
no_override_lockscreen = "override the static lock screen image with a snapshot of your current live wallpaper."
disable_automount = "prevents Windows from automatically mounting or assigning drive letters to any new basic volumes that are visible to the system"
Expand All @@ -36,6 +37,7 @@ no_override_autorun = "The NoDriveAutoRun value disables AutoRun for specified d

[time-sync] # Time synchronization
enable_ntp = "your device contacts an NTP server to synchronize the time."
enable_ntp_servers = "true"
ntp_servers = "allows the synchronization of system clocks (from desktops to servers)."
enable_ntp_user = "to automatically get the correct time from NTP servers on the Internet to set the system clock."

Expand Down Expand Up @@ -86,8 +88,11 @@ enable_default_deny = " Deny all traffic by default "

[ssh]
configure_permissions = {sshd_config = "true", private_host_key = "true", public_host_key = "true"}
enable_allow_users = "true"
allow_users = "users"
enable_allow_groups = "true"
allow_groups = "groups"
enable_log_level = "true"
log_level = "VERBOSE" # INFO, VERBOSE
enable_pam = "true"
disable_root_login = "true"
Expand All @@ -101,17 +106,23 @@ enable_strong_mac_algorithms = "true"
enable_strong_key_exchange_algorithms = "true"
disable_tcp_forwarding = "false"
configure_warning_banner = "true"
enable_max_auth_tries = "true"
max_auth_tries = "4"
configure_max_startups = "true"
enable_max_sessions = "true"
max_sessions = "10"
enable_login_grace_time = "true"
login_grace_time = "60" # in seconds
enable_client_alive_interval = "true"
client_alive_interval = "300" # in seconds
enable_client_alive_count_max = "true"
client_alive_count_max = "3"

[privilege_escalation] # Privilege Escalation
use_pty = "true"
enable_logfile = "true"
disable_nopassword = "false"
enable_reauthentication = "true"
enable_authentication_timeout = "true"
authentication_timeout = "15" # in minutes
restrict_su = "true"

0 comments on commit 30a33ea

Please sign in to comment.