[Samba] using smbadduser non-interactively

Preston.Newton at txucom.com Preston.Newton at txucom.com
Thu Feb 21 11:13:09 GMT 2002

You could look into creating an expect script that would allow you to add
users automatically.  You'll need to install Expect in order to do this


                    Cumberland"              To:     <samba at samba.org>                                                                            
                    <lonnie at outstep.c        cc:                                                                                                  
                    om>                      Subject:     [Samba] using smbadduser non-interactively                                              
                    Sent by:                                                                                                                      
                    samba-admin at lists                                                                                                             
                    02/21/2002 08:00                                                                                                              

Hello All,

Could someone please tell me if there is a was to use smbadduser in a
non-interactive mode and just allow you to enter all of the
particular user information on the command line?

I need to set up a small script that will automate adding users to
the smbpasswd file so that they can login.


 Lonnie Cumberland
 OutStep Technologies Incorporated
 EMAIL: Lonnie at OutStep.com
      : Lonnie_Cumberland at yahoo.com

 The Basis Express Virtual Office
 Data Backup and Recovery Services

 URL: http://www.basis-express.com

"The Virtual Office with no boundries!!!"

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

More information about the samba mailing list