diff --git a/werc/bin/aux/addwuser.rc b/werc/bin/aux/addwuser.rc index ea3e58e..0259485 100755 --- a/werc/bin/aux/addwuser.rc +++ b/werc/bin/aux/addwuser.rc @@ -24,6 +24,7 @@ if(~ $"user_name '' || ~ $"user_pass '') mkdir etc/users/$user_name mkpasswd $user_pass > etc/users/$user_name/password +htpasswd -b /etc/lighttpd/.htpasswd $user_name $user_pass if(! ~ $#user_groups 0) for(g in $user_groups) {