catboy/scripts/chroot-prompt.sh

8 lines
170 B
Bash
Raw Normal View History

2020-02-12 03:07:01 +00:00
#!/bin/sh
set -eu
printf 'Name: '
read -r nick rest
2021-05-27 15:53:02 +00:00
printf '%s %s\n' "$nick" "$SSH_CLIENT" >>nicks.log
exec catgirl -K -n "$nick" -s "$nick" -u "${SSH_CLIENT%% *}" "$@"