Date: Thu, 28 Jul 2005 21:19:24 +0200 From: "albi@scii.nl" <albi@scii.nl> To: Glenn Dawson <glenn@antimatter.net> Cc: freebsd-questions@freebsd.org Subject: Re: script for adding a samba-user Message-ID: <20050728211924.29cb2629.albi@scii.nl> In-Reply-To: <6.1.0.6.2.20050728114812.1bbe0c70@cobalt.antimatter.net> References: <20050728202555.04233dd3.albi@scii.nl> <6.1.0.6.2.20050728114812.1bbe0c70@cobalt.antimatter.net>
next in thread | previous in thread | raw e-mail | index | archive | help
On Thu, 28 Jul 2005 12:02:08 -0700 Glenn Dawson <glenn@antimatter.net> wrote: > >been working on a script to add a samba-user, below an example which > >is not working, can someone provide the fix here to make it work > >properly ? > > It's difficult to help since you didn't provide a description of the > problem beyond "not working". i forgot the -a option for smbpasswd and the $1 for adduser was not needed, the modified script below seems to be working instead #!/bin/sh adduser -G data -s scponly smbpasswd -a $1 sorry for not being clear, and thanks for your input!
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20050728211924.29cb2629.albi>