aboutsummaryrefslogtreecommitdiffstats
path: root/gotrc-examples/hide-username
blob: cf959c96a325c8a50823ed6a05ec97ca6033786f (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
# -*- 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
}