Fix pub key check for info display
This commit is contained in:
@@ -136,7 +136,7 @@ while read i; do
|
|||||||
if getent passwd ${user} > /dev/null 2>&1; then
|
if getent passwd ${user} > /dev/null 2>&1; then
|
||||||
echo -n ", User exists";
|
echo -n ", User exists";
|
||||||
fi;
|
fi;
|
||||||
if [ -f "${ssh_keyfile_pub}" ]; then
|
if [ -f "${ssh_keyfile_check_pub}" ]; then
|
||||||
echo -n ", SSH Pub key OK";
|
echo -n ", SSH Pub key OK";
|
||||||
fi;
|
fi;
|
||||||
# line break
|
# line break
|
||||||
|
|||||||
Reference in New Issue
Block a user