[Samba] smbpasswd -s silent mode

Christian Barth barth at cck.uni-kl.de
Wed Feb 27 01:44:41 GMT 2002


> Can someone show me the syntax required to use smbpasswd in silent mode.
> 
> I've tried the following to add user candrew with password chris01:
> 
> # echo chris01 | smbpasswd -s -a candrew
> # Mismatch - password unchanged.
> # Unable to get new password.
The password is needed twice. Try
# ( echo chris01 ; echo chris01 ) | smbpasswd -s -a candrew

Christian


> 
> Thanks,
> Chris
> 
> -- 
> To unsubscribe from this list go to the following URL and read the
> instructions:  http://lists.samba.org/mailman/listinfo/samba
> 


               _(_)_                          wWWWw   _
   @@@@       (_)@(_)   vVVVv     _     @@@@  (___) _(_)_
  @@()@@ wWWWw  (_)\    (___)   _(_)_  @@()@@   Y  (_)@(_)
   @@@@  (___)     `|/    Y    (_)@(_)  @@@@   \|/   (_)\
    /      Y       \|    \|/    /(_)    \|      |/      |
 \ |     \ |/       | / \ | /  \|/       |/    \|      \|/
jgs|//   \\|///  \\\|//\\\|/// \|///  \\\|//  \\|//  \\\|// 
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^




More information about the samba mailing list