[Samba] Create samba user in batch
Goetz Rieger
goetz.rieger at suse.de
Fri Aug 9 00:19:03 GMT 2002
Hey,
On Fri, 9 Aug 2002 10:53:57 +0700
"Theewara Vorakosit" <thvo at ksc.th.com> wrote:
> I use samba 2.2.3a in RedHat 7.3. I have to create many samba user
> in my system. I use "smbpasswd -a myser" to add user in smbpasswd
> file. I have to type password for each user. Does samba have a
from man smbpasswd.8:
SYNOPSIS
When run by root:
smbpasswd [ options ] [ username ] [ password ]
You could use it in a script like:
/usr/bin/smbpasswd -a $NAME $INITPASS
Goetz
More information about the samba
mailing list