From owner-freebsd-questions Fri Feb 22 12:14:20 2002 Delivered-To: freebsd-questions@freebsd.org Received: from web13105.mail.yahoo.com (web13105.mail.yahoo.com [216.136.174.150]) by hub.freebsd.org (Postfix) with SMTP id 9B9B037B417 for ; Fri, 22 Feb 2002 12:14:10 -0800 (PST) Message-ID: <20020222201410.95279.qmail@web13105.mail.yahoo.com> Received: from [205.172.12.10] by web13105.mail.yahoo.com via HTTP; Fri, 22 Feb 2002 12:14:10 PST Date: Fri, 22 Feb 2002 12:14:10 -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 > 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? I know that this seems to be a miner inconvenience. But this is the reason why people use linux over FreeBSD even thought FreeBSD is better in almost every other way. That is why I’m trying to fix it. The more convenience FreeBSD becomes the more people will use it. I think if the coding of pw was edited to except the $ as a valid character would fix the problem. Does someone know how I would ask bin to do this? __________________________________________________ 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