diff --git a/source/ubl-settings-usergroups.h b/source/ubl-settings-usergroups.h index 1102986..1925ece 100644 --- a/source/ubl-settings-usergroups.h +++ b/source/ubl-settings-usergroups.h @@ -44,7 +44,7 @@ #define samba_sync_command(user) yon_char_unite("sudo smbpasswd -Las ",user,NULL) #define samba_sync_password_command(user, password) yon_char_unite("(echo \"",password,"\"; echo \"",password,"\") | sudo smbpasswd -Las ",user,NULL) #define get_passwords_command "ubconfig --target global get [users] USERADD[*] GROUPADD[*]" -#define check_is_password_hash(password) system(yon_char_append("/lib/ublinux/functions is_hash_password ", password)) +#define check_is_password_hash(password) system(yon_char_unite("/lib/ublinux/functions is_hash_password '", password,"'",NULL)) #define groups_path "/etc/group" #define users_path "/etc/passwd"