From owner-freebsd-questions Fri Feb 22 8:28:38 2002 Delivered-To: freebsd-questions@freebsd.org Received: from web13108.mail.yahoo.com (web13108.mail.yahoo.com [216.136.174.153]) by hub.freebsd.org (Postfix) with SMTP id 14AF637B400 for ; Fri, 22 Feb 2002 08:28:35 -0800 (PST) Message-ID: <20020222162835.95726.qmail@web13108.mail.yahoo.com> Received: from [205.172.12.10] by web13108.mail.yahoo.com via HTTP; Fri, 22 Feb 2002 08:28:35 PST Date: Fri, 22 Feb 2002 08:28:35 -0800 (PST) From: Justin Boss Reply-To: jlboss@yahoo.com Subject: pw and samba To: freebsd-questions@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG 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? thanks __________________________________________________ Do You Yahoo!? Yahoo! Sports - Coverage of the 2002 Olympic Games http://sports.yahoo.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message