From owner-freebsd-questions@FreeBSD.ORG Sat Mar 20 10:43:49 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 D4C2516A4CE for ; Sat, 20 Mar 2004 10:43:49 -0800 (PST) Received: from ns1.tiadon.com (SMTP.tiadon.com [69.27.132.161]) by mx1.FreeBSD.org (Postfix) with ESMTP id 7064343D1F for ; Sat, 20 Mar 2004 10:43:49 -0800 (PST) (envelope-from kdk@daleco.biz) Received: from daleco.biz ([69.27.131.0]) by ns1.tiadon.com with Microsoft SMTPSVC(6.0.3790.0); Sat, 20 Mar 2004 12:44:19 -0600 Message-ID: <405C90E2.2030100@daleco.biz> Date: Sat, 20 Mar 2004 12:43:46 -0600 From: "Kevin D. Kinsey, DaleCo, S.P." User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.6) Gecko/20040212 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Eric Yellin References: <011b01c40ea2$a231ccc0$0851db3e@net.migvan.co.il> In-Reply-To: <011b01c40ea2$a231ccc0$0851db3e@net.migvan.co.il> Content-Type: text/plain; charset=windows-1255; format=flowed Content-Transfer-Encoding: 7bit X-OriginalArrivalTime: 20 Mar 2004 18:44:20.0250 (UTC) FILETIME=[5B057FA0:01C40EAB] cc: freeBSD 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:43:49 -0000 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? >Thanks, >Eric > > > Seems a tad unusual. Don't know if I can help, but can you give me some info? a. What is root's "shell" entry in /etc/passwd? b. From whence do you set your "normal" prompt? /~/.cshrc? If the machine is not used by others, a quick workaround might be to simply copy your .cshrc to /root/ and simply use "su". But it does seem a tad weird that "su -m" seems to be reading some other resource file...or else my understanding of "-m" is broken, which is entirely possible. Kevin Kinsey DaleCo, S.P.