diff options
author | C. McEnroe | 2021-05-27 15:19:33 +0000 |
---|---|---|
committer | C. McEnroe | 2021-05-27 15:19:33 +0000 |
commit | 5e7c31b637fc7ed82e4f4c81ccd8ca4fe852972f (patch) | |
tree | 1ce0285dd25a37d8c7ee411cc6b01a4d35bffe60 | |
parent | 27c967864c9feaf83b76d51bb9d802b9ac308222 (diff) |
Log nick and ssh connection in chroot-prompt
-rw-r--r-- | scripts/chroot-prompt.sh | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/scripts/chroot-prompt.sh b/scripts/chroot-prompt.sh index 3b43841..9adff95 100644 --- a/scripts/chroot-prompt.sh +++ b/scripts/chroot-prompt.sh @@ -3,4 +3,5 @@ set -eu printf 'Name: ' read -r nick rest +printf '%s %s\n' "$nick" "${SSH_CLIENT:-}" >>nicks.log exec catgirl -n "$nick" -s "$nick" "$@" |