We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 938841a commit 08b3d25Copy full SHA for 08b3d25
bash_profile
@@ -127,7 +127,7 @@ select yn in "Yes" "No"; do
127
echo -e ${red}" Blank username entered. Try again!!!"${txtrst}
128
echo -en "\033[1A\033[1A\033[2K"
129
username=""
130
- elif grep -q "$username" /etc/passwd; then
+ elif grep -q "^$username" /etc/passwd; then
131
echo -e ${red}"Username already exists. Try again!!!"${txtrst}
132
133
0 commit comments