From owner-freebsd-questions@FreeBSD.ORG Sat Mar 20 10:40:34 2004 Return-Path: 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 80BFC16A4CE for ; Sat, 20 Mar 2004 10:40:34 -0800 (PST) Received: from mail.evilcoder.org (cust.94.120.adsl.cistron.nl [195.64.94.120]) by mx1.FreeBSD.org (Postfix) with ESMTP id 3B6A043D2D for ; Sat, 20 Mar 2004 10:40:32 -0800 (PST) (envelope-from remko@elvandar.org) Message-ID: <405C9015.4050105@elvandar.org> Date: Sat, 20 Mar 2004 19:40:21 +0100 From: Remko Lodder X-Accept-Language: en-us, en MIME-Version: 1.0 Cc: freeBSD References: <011b01c40ea2$a231ccc0$0851db3e@net.migvan.co.il> <20040320182317.GA59236@users.munk.nu> In-Reply-To: <20040320182317.GA59236@users.munk.nu> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: for evilcoder.org Subject: Re: problem with su X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 20 Mar 2004 18:40:34 -0000 Jez Hancock wrote: > On Sat, Mar 20, 2004 at 07:41:53PM +0200, Eric Yellin wrote: > >>When I "su -m" and login as root, all I get in the prompt is a % sign. My >>normal user shell is tcsh and the prompt looks like this: >>[eric@www4]/home/eric(29): but this is not kept when I su -m. >>How can I change this? > > > Have you tried copying ~eric/.cshrc to ~root/.cshrc? > Why should you want to do that? Why not build a root specific environment setting? Or if you actually want to do it, don't forget to look at the files before you copy them, and insert the root options back in. (i mean that the root .cshrc might have other options than your $user .cshrc file, and you perhaps want to keep some settings which are in the root .cshrc) Cheers -- -- Kind regards, Remko Lodder Elvandar.org/DSINet.org www.mostly-harmless.nl Dutch community for helping newcomers on the hackerscene