From owner-freebsd-questions Thu Dec 19 7:47:10 2002 Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 3959837B401 for ; Thu, 19 Dec 2002 07:47:09 -0800 (PST) Received: from smtp.infracaninophile.co.uk (happy-idiot-talk.infracaninophile.co.uk [81.2.69.218]) by mx1.FreeBSD.org (Postfix) with ESMTP id 97DA343EC5 for ; Thu, 19 Dec 2002 07:47:07 -0800 (PST) (envelope-from m.seaman@infracaninophile.co.uk) Received: from happy-idiot-talk.infracaninophile.co.uk (localhost [IPv6:::1]) by smtp.infracaninophile.co.uk (8.12.6/8.12.6) with ESMTP id gBJFkvQn083417 for ; Thu, 19 Dec 2002 15:46:57 GMT (envelope-from matthew@happy-idiot-talk.infracaninophile.co.uk) Received: (from matthew@localhost) by happy-idiot-talk.infracaninophile.co.uk (8.12.6/8.12.6/Submit) id gBJFkqM4083416 for freebsd-questions@FreeBSD.ORG; Thu, 19 Dec 2002 15:46:52 GMT Date: Thu, 19 Dec 2002 15:46:52 +0000 From: Matthew Seaman To: freebsd-questions@FreeBSD.ORG Subject: Re: Exporting a variable on login Message-ID: <20021219154652.GA83349@happy-idiot-talk.infracaninophi> Mail-Followup-To: Matthew Seaman , freebsd-questions@FreeBSD.ORG References: <008c01c2a771$c4846830$ec9e1ec4@staff.uunet.co.za> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <008c01c2a771$c4846830$ec9e1ec4@staff.uunet.co.za> User-Agent: Mutt/1.5.1i X-Spam-Status: No, hits=-3.0 required=5.0 tests=IN_REP_TO,QUOTED_EMAIL_TEXT,REFERENCES,SPAM_PHRASE_00_01, USER_AGENT,USER_AGENT_MUTT version=2.43 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 Thu, Dec 19, 2002 at 05:17:37PM +0200, Patrick Holahan wrote: > Hey Barry, > > > > Hi guys & gals.. > > > > > > I'm trying to get cvs to work on my BSD 4.6-RELEASE system.. and > > > I'd like to > > > make it easier to use for the clients loggin on. > > > So what I'd like to do is set the CVSROOT variable to /usr/local/cvsroot > > > > > > However, when I try set this in .profile like so: > > > > > > CVSROOT=/usr/local/cvsroot; export CVSROOT > > > It doesn't work > > > > > > > Patrick: > > > > Try: > > > > /etc/profile for sh-like shells (bash, sh, ksh) > > /etc/csh.login for csh-like shells (csh, tcsh) > > Thanks very much.. This worked perfectly (: Alternatively try /etc/login.conf -- one change for all shells... default:\ :passwd_format=md5:\ :copyright=/etc/COPYRIGHT:\ :welcome=/etc/motd:\ :setenv=MAIL=/var/mail/$,BLOCKSIZE=K,FTP_PASSIVE_MODE=YES,CVSROOT=/usr/local/cvs:\ and don't forget to 'cap_mkdb /etc/login.conf' after editing the file... Cheers, Matthew -- Dr Matthew J Seaman MA, D.Phil. 26 The Paddocks Savill Way Marlow Tel: +44 1628 476614 Bucks., SL7 1TH UK To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message