Actually,I´m trying to add a user in Samba, the original script use adduser: add machine script = /usr/sbin/adduser -n -g machines -c Machine -d /dev/null -s /bin/false %u
but there were many mistakes and I´m trying to use pw.
and yes, %u is a variable
Thank you