Date: Sat, 23 Feb 2002 08:55:48 +1300 From: Jonathan Chen <jonc@chen.org.nz> To: Justin Boss <jlboss@yahoo.com> Cc: freebsd-questions@FreeBSD.ORG Subject: Re: pw and samba Message-ID: <20020223085548.B56258@grimoire.chen.org.nz> In-Reply-To: <20020222162835.95726.qmail@web13108.mail.yahoo.com>; from jlboss@yahoo.com on Fri, Feb 22, 2002 at 08:28:35AM -0800 References: <20020222162835.95726.qmail@web13108.mail.yahoo.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On Fri, Feb 22, 2002 at 08:28:35AM -0800, Justin Boss wrote: > I use FreeBSD 4.4 with Samba. I'm trying to get the > 'add user script' working so it will add workstation > trust account. Workstation trust account end with a $ > ( workstation$ ) but pw gives me a invalid character > '$'. Currently my add user script looks like this 'pw > useradd -n %m$ -g staff -s /sbin/nologin -c %m -d /' > %m is the value of the name of the workstation that is > passed by Samba. What I was thinking needs to be done > is have pw except the $ as a valid character. Is there > another way? The '$' is signicant to all shells. Use \$ instead. -- Jonathan Chen <jonc@chen.org.nz> ---------------------------------------------------------------------- "Opportunity does not knock, it presents itself when you beat down the door" - W.E. Channing To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20020223085548.B56258>