Thank you all for your answers. One told me that in order to allow the students to upload/download from their home directories, FTP or something like that is a simple and easy choice. As domain logon and roaming profil is not needed and FTP can be logged, I'll use this. 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 ? directly modifying the smbusers file ? I'm not aware of the crypto algo used for this ... Thank you, Ionel ___________________________________________________________ Do You Yahoo!? -- Une adresse @yahoo.fr gratuite et en fran?ais ! Yahoo! Mail : http://fr.mail.yahoo.com
what about: smbpasswd -a username password Oscar. ----- Original Message ----- From: "Ionel GARDAIS" <igardais@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 ?
> 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.Look at the option -s of the smbpasswd command. Christian _(_)_ wWWWw _ @@@@ (_)@(_) vVVVv _ @@@@ (___) _(_)_ @@()@@ wWWWw (_)\ (___) _(_)_ @@()@@ Y (_)@(_) @@@@ (___) `|/ Y (_)@(_) @@@@ \|/ (_)\ / Y \| \|/ /(_) \| |/ | \ | \ |/ | / \ | / \|/ |/ \| \|/ jgs|// \\|/// \\\|//\\\|/// \|/// \\\|// \\|// \\\|// ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^