aboutsummaryrefslogtreecommitdiffstats
path: root/gotrc-examples/hide-username
blob: 3c863042594a2fd1427e32d4d13bff165a3d8701 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
# -*- shell-script -*-

# This module requires that got runs under GNU Bash.

# This module hides the username when it is types,
# this can be useful so that nopony can se your
# passphrase if you type it in instead of your
# username by mistake when you log in.


_read ()
{
    read -s user
    echo
}