From owner-freebsd-questions Thu Mar 14 15:54:58 2002 Delivered-To: freebsd-questions@freebsd.org Received: from teak.adhesivemedia.com (teak.adhesivemedia.com [207.202.159.79]) by hub.freebsd.org (Postfix) with ESMTP id 705A237B419 for ; Thu, 14 Mar 2002 15:54:56 -0800 (PST) Received: from localhost (philip@localhost) by teak.adhesivemedia.com (8.11.6/8.11.6) with ESMTP id g2ENsuJ43302 for ; Thu, 14 Mar 2002 15:54:56 -0800 (PST) (envelope-from philip@adhesivemedia.com) Date: Thu, 14 Mar 2002 15:54:56 -0800 (PST) From: Philip Hallstrom To: freebsd-questions@freebsd.org Subject: How to put a colon as a value in /etc/login.conf? Message-ID: <20020314155118.P39420-100000@teak.adhesivemedia.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 Hi - I would like to set an environment variable in /etc/login.conf using the "setenv" paramater. It currently reades like this: :setenv=MAIL=/var/mail/$,BLOCKSIZE=K,FTP_PASSIVE_MODE=YES:\ I would like to add: CVSROOT=:pserver:hostname:/path/to/cvs But no matter what I try it doesn't work. I can't quote the string, I can't seem to escape the colons. The manpage doesn't tell me if it's possible... I've worked around it by setting in the users directories that need it, but login.conf is so nice and clean :) Any ideas? Thanks! -philip To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message