From owner-freebsd-questions Mon Sep 29 15:52:06 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id PAA16107 for questions-outgoing; Mon, 29 Sep 1997 15:52:06 -0700 (PDT) Received: from mail.san.rr.com (mail-atm.san.rr.com [204.210.0.1]) by hub.freebsd.org (8.8.7/8.8.7) with ESMTP id PAA16096 for ; Mon, 29 Sep 1997 15:52:01 -0700 (PDT) Received: from dt5h1n61.san.rr.com (dt5h1n61.san.rr.com [204.210.31.97]) by mail.san.rr.com (8.8.7/8.8.7) with SMTP id PAA21341; Mon, 29 Sep 1997 15:50:49 -0700 (PDT) Message-Id: <199709292250.PAA21341@mail.san.rr.com> From: "Studded" To: "Bob Webb" , "freebsd-questions@freebsd.org" Date: Mon, 29 Sep 97 15:50:48 -0700 Reply-To: "Studded" Priority: Normal X-Mailer: PMMail 1.92 For OS/2 MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Subject: Re: su -m and PS1 Sender: owner-freebsd-questions@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk On Mon, 29 Sep 1997 10:21:44 -0400, Bob Webb wrote: >I subscribe to the philosophy to login as yourself and su to root when >needed. Good philosophy. :) [Problem: Root has no entry for PS1] >Root does not have a .bash_profile or bashrc You just answered your own question. :) What I personally do is make /root/.bashrc a symlink to /etc/profile, and put all of the things I want to maintain across "users" in /etc/profile. That way you limit the number of changes you have to make. You could just as easily make it a symlink to your personal .bash_profile. If you're not sure what a symlink is, man ln. You want to use the -s option. Hope this helps, Doug Do thou amend thy face, and I'll amend my life. -Shakespeare, "Henry V"