[Samba] Smbpasswd in a cron job

Sebastian Held sebastian.held at gmx.de
Tue Feb 21 07:41:47 GMT 2006


Try 

echo -e "${PASSWD}\n${PASSWD}" | smbpasswd -a -s ${USER}

br,
Sebastian
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 190 bytes
Desc: not available
Url : http://lists.samba.org/archive/samba/attachments/20060221/88e4c319/attachment.bin


More information about the samba mailing list