From owner-freebsd-questions Mon Mar 4 19: 0:25 2002 Delivered-To: freebsd-questions@freebsd.org Received: from russian-caravan.cloud9.net (russian-caravan.cloud9.net [168.100.1.4]) by hub.freebsd.org (Postfix) with ESMTP id 35FA637B402 for ; Mon, 4 Mar 2002 19:00:08 -0800 (PST) Received: from earl-grey.cloud9.net (earl-grey.cloud9.net [168.100.1.1]) by russian-caravan.cloud9.net (Postfix) with ESMTP id 82AC128B38; Mon, 4 Mar 2002 22:00:03 -0500 (EST) Date: Mon, 4 Mar 2002 22:00:03 -0500 (EST) From: Peter Leftwich X-X-Sender: To: Andreas Fiedler Cc: Subject: Re: $ character in user names In-Reply-To: <3C83F6CC.FECF12B8@computerservice-fiedler.de> Message-ID: <20020304215601.P91555-100000@earl-grey.cloud9.net> Organization: Video2Video Services - http://Www.Video2Video.Com 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 Try the command "vipw" after making sure your EDITOR environment variable is set to an editor with which you are familiar. For example, my shell is tcsh so typing something like "setenv EDITOR 'pico -z'" or "setenv EDITOR ee" sets you up with an easy to use editor. I was able to copy a line in the file that vipw opens (/etc/master.passwd) and add $ to a username, then after exiting, I was able to type finger username\$ and it worked fine. Best of luck, -- Peter Leftwich President & Founder Video2Video Services Box 13692, La Jolla, CA, 92039 USA +1-413-403-9555 On Mon, 4 Mar 2002, Andreas Fiedler wrote: > Return-Path: > Received: from mail2.registeredsite.com (mail2.registeredsite.com > [64.224.9.11]) > by russian-caravan.cloud9.net (Postfix) with ESMTP id BBE9828B37 > for ; Mon, 4 Mar 2002 17:35:38 -0500 (EST) > Received: from mail.video2video.com (mail.video2video.com [209.35.10.22]) > by mail2.registeredsite.com (8.11.6/8.11.4) with ESMTP id > g24LfBV09524 > for ; Mon, 4 Mar 2002 16:41:11 -0500 > Received: from mx2.freebsd.org [209.35.10.22] by mail.video2video.com > (SMTPD32-6.06) id A6BA177300B4; Mon, 04 Mar 2002 17:35:38 -0500 > Received: from hub.freebsd.org (hub.FreeBSD.org [216.136.204.18]) > by mx2.freebsd.org (Postfix) with ESMTP > id 7018155F22; Mon, 4 Mar 2002 14:35:27 -0800 (PST) > (envelope-from owner-freebsd-questions@FreeBSD.ORG) > Received: by hub.freebsd.org (Postfix, from userid 538) > id 944A937B400; Mon, 4 Mar 2002 14:35:24 -0800 (PST) > Received: from localhost (localhost [127.0.0.1]) > by hub.freebsd.org (Postfix) with SMTP > id 6CC3A2E8079; Mon, 4 Mar 2002 14:35:24 -0800 (PST) > Received: by hub.freebsd.org (bulk_mailer v1.12); Mon, > 4 Mar 2002 14:35:24 -0800 > Delivered-To: freebsd-questions@freebsd.org > Received: from mail.c-s-f.net (pD95297BF.dip.t-dialin.net > [217.82.151.191]) > by hub.freebsd.org (Postfix) with ESMTP id 1582937B41D > for ; Mon, 4 Mar 2002 14:35:18 -0800 (PST) > Received: from computerservice-fiedler.de (alpha.c-s-f.net [192.168.1.10]) > by mail.c-s-f.net (Postfix) with ESMTP id 6F1059720 > for ; Mon, 4 Mar 2002 23:35:12 +0100 (CET) > Message-ID: <3C83F6CC.FECF12B8@computerservice-fiedler.de> > Date: Mon, 04 Mar 2002 23:35:56 +0100 > From: Andreas Fiedler > X-Mailer: Mozilla 4.75 [de]C-CCK-MCD DT (Windows NT 5.0; U) > X-Accept-Language: de > MIME-Version: 1.0 > To: freebsd-questions@FreeBSD.ORG > Subject: $ character in user names > Content-Type: text/plain; charset=us-ascii > Content-Transfer-Encoding: 7bit > Sender: owner-freebsd-questions@FreeBSD.ORG > List-ID: > List-Archive: (Web Archive) > List-Help: (List Instructions) > List-Subscribe: > > List-Unsubscribe: > > X-Loop: FreeBSD.ORG > Precedence: bulk > > Hi all, I need to add a user with a name ending in $ for adding machines to a Samba smbpass file (domain setup). > Adduser and pw both reject illegal characters like $. Is there a possibility to manually override that behaviour? > Thanks, > Andreas To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message