Archived
Work on stale ldap/homedir stuff
This commit is contained in:
1 parent
da1def5c8a
commit
4f0f30b2f5
5 files changed
+98
-118
No files matched your search
@@ -14,7 +14,7 @@ fi
|
||||
HOME_DIRS_PATH=$1
|
||||
USERNAME=$2
|
||||
|
||||
if ! id -u $USERNAME; then
|
||||
if ! id -u ${USERNAME} &>/dev/null; then
|
||||
echo "Cannot find user ${USERNAME}. Be sure the user is added to the ldap directory before running this script."
|
||||
exit 1
|
||||
fi
|
||||
|
||||
Reference in new issue
Block a user