Hallo together, in the Documentation of the Command "net" are as useradd Command following line net [<method>] user ADD <name> [password] [-c container] [-F user flags] [misc. options] [targets] Add specified user but when i try to add a user with the following commandline: "net user ADD testuser testpass" The Error Message are "User must be specified". The username are Testuser and the password are testpass. I don't can find the error in my line. The documentation didn't say what is the correct way to add user with a password that are nown. I think the misstake are not at my side. As workaround I using the smbpasswd command with the Option -w I hope that this is My System are a Debian/Testing without ADS or Kerberos
(In reply to comment #0) > Hallo together, > > in the Documentation of the Command "net" > are as useradd Command following line > > net [<method>] user ADD <name> [password] [-c container] [-F user flags] [misc. > options] [targets] > Add specified user > > but when i try to add a user with the following commandline: > "net user ADD testuser testpass" > The Error Message are > "User must be specified". > The username are Testuser and the password are testpass. > > I don't can find the error in my line. > The documentation didn't say what is the correct way to add user > with a password that are nown. > > I think the misstake are not at my side. > As workaround I using the smbpasswd command with the Option -w > > I hope that this is > > My System are a Debian/Testing without ADS or Kerberos Suggest you check section 12.4.1 "Adding User Accounts" in the book, "The Official Samba-3 HOWTO and Reference Guide, Second Edition". This book is due to go to the printers on July 6, 2005. You can obtain a PDF of the book from: https://www.samba.org/samba/docs/Samba3-HOWTO.pdf If there remains any further lack of clarity please let me know. Cheers, John T.