I'm using package Local_user from
wiki/userspace:local_user
For instance if the password is XXX%YYY the user's creation fails.
Looking at the log, I can see that the command "net user ...." is invalid due to the % :
Code: Alles auswählen
C:\Windows\system32>NET USER xunil XXXno /passwordreq:yes
Instead of :
Code: Alles auswählen
NET USER $local_user$ $val_userpasswd$ /ADD /passwordchg:no /passwordreq:yes
Note that the following command works well in the windows command interpreter :
Code: Alles auswählen
NET USER toto XXX%YYY /ADD /passwordchg:no /passwordreq:yes
Thank you.