[Samba] a good way of life

Oscar Chao ochao at sunpowercorp.com
Tue Feb 19 12:46:02 GMT 2002


what about:

smbpasswd -a username password

Oscar.

----- Original Message ----- 
From: "Ionel GARDAIS" <igardais at yahoo.fr>

> Another question for our brillants candidates :
> How to batch the creation of a Samba account ?
> 
> I mean, everytime you create an account, a password is
> needed.
> 
> I want the password to be generated randomly (not from
> a dictionnary but various lEttER/numbers mix) and then
> attributed to a user wihtout the root to enter it by
> hand and to press ENTER twice.
> 
> I've tried to use the "<<" command in bash but it
> didn't help me.
> 
> Any ideas ?






More information about the samba mailing list