diff options
author | Nicholas Marriott <nicm@openbsd.org> | 2009-09-02 16:38:35 +0000 |
---|---|---|
committer | Nicholas Marriott <nicm@openbsd.org> | 2009-09-02 16:38:35 +0000 |
commit | c5ac2579bac08f46f68ee7b9b9e47b6123e83bd2 (patch) | |
tree | 5737b5805ca0cf415d3457c80860e6874e7f6b72 /tmux.c | |
parent | 61b7dc522d175c5f2a8b38d177adcf7282820380 (diff) | |
download | rtmux-c5ac2579bac08f46f68ee7b9b9e47b6123e83bd2.tar.gz rtmux-c5ac2579bac08f46f68ee7b9b9e47b6123e83bd2.tar.bz2 rtmux-c5ac2579bac08f46f68ee7b9b9e47b6123e83bd2.zip |
When incorrect passwords are entered, behave similarly to login(1) and backoff
for a bit. Based on a diff from martynas@.
Diffstat (limited to 'tmux.c')
-rw-r--r-- | tmux.c | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -47,7 +47,9 @@ struct options global_w_options; /* window options */ struct environ global_environ; int server_locked; +struct passwd *server_locked_pw; u_int password_failures; +time_t password_backoff; char *server_password; time_t server_activity; |