Dear All, 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 program that add user in batch like "chpasswd" program? Thanks, Theewara -------------- next part -------------- HTML attachment scrubbed and removed
Hey, On Fri, 9 Aug 2002 10:53:57 +0700 "Theewara Vorakosit" <thvo@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 afrom 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