Hi - I'm trying to use smbpasswd -s in a script. Is it possible to do something like: cat /tmp/password.txt /usr/samba/bin/smbpasswd -s username or even cat /tmp/password.txt /usr/samba/bin/smbpasswd -s -U administrator -j DOMAIN -r SERVER This is on a netbsd 1.5.2 installation of samba 2.2.2. Every time I try to do a command with smbpasswd in a script, it still asks for the password. Thanks very much. joeo