[Samba] using smbadduser non-interactively

Lonnie Cumberland lonnie at outstep.com
Thu Feb 21 11:40:18 GMT 2002


Preston,

What about the use of the "-s" option on the sbmpasswd program? I
think that it is supposed to allow for this type of thing but I am
not sure how to use it properly.

Also, I have no idea what this Expect is or where to get it.

Cheers,
Lonnie

>
> Lonnie,
> 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 though.
>
> Preston
>
>
>
>


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


>


>                    02/21/2002 08:00
>
>                                                     AM
>
>
>
>


>


>
>
>
>
> 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.
>
> Cheers,
> Lonnie
>
> --
> 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
>
>
>
>
>
> --
> To unsubscribe from this list go to the following URL and read
> the instructions:  http://lists.samba.org/mailman/listinfo/samba


-- 
 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!!!"








More information about the samba mailing list