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@OutStep.com : Lonnie_Cumberland@yahoo.com The Basis Express Virtual Office & Data Backup and Recovery Services URL: http://www.basis-express.com "The Virtual Office with no boundries!!!"
Preston.Newton@txucom.com
2002-Feb-21 11:13 UTC
[Samba] using smbadduser non-interactively
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@samba.org> <lonnie@outstep.c cc: om> Subject: [Samba] using smbadduser non-interactively Sent by: samba-admin@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@OutStep.com : Lonnie_Cumberland@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