Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 4 Mar 2002 22:00:03 -0500 (EST)
From:      Peter Leftwich <Hostmaster@Video2Video.Com>
To:        Andreas Fiedler <mail@computerservice-fiedler.de>
Cc:        <freebsd-questions@FreeBSD.ORG>
Subject:   Re: $ character in user names
Message-ID:  <20020304215601.P91555-100000@earl-grey.cloud9.net>
In-Reply-To: <3C83F6CC.FECF12B8@computerservice-fiedler.de>

next in thread | previous in thread | raw e-mail | index | archive | help

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: <owner-freebsd-questions@FreeBSD.ORG>
> Received: from mail2.registeredsite.com (mail2.registeredsite.com
>     [64.224.9.11])
> 	by russian-caravan.cloud9.net (Postfix) with ESMTP id BBE9828B37
> 	for <pete@cloud9.net>; 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 <pete@cloud9.net>; 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 <freebsd-questions@freebsd.org>; 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 <freebsd-questions@freebsd.org>; 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 <mail@computerservice-fiedler.de>
> 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: <freebsd-questions.FreeBSD.ORG>
> List-Archive: <http://docs.freebsd.org/mail/>; (Web Archive)
> List-Help: <mailto:majordomo@FreeBSD.ORG?subject=help> (List Instructions)
> List-Subscribe:
>     <mailto:majordomo@FreeBSD.ORG?subject=subscribe%20freebsd-questions>
> List-Unsubscribe:
>     <mailto:majordomo@FreeBSD.ORG?subject=unsubscribe%20freebsd-questions>
> 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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20020304215601.P91555-100000>