Date: Wed, 23 Jun 1999 06:46:28 -0600 From: Oscar Bonilla <obonilla@fisicc-ufm.edu> To: Doug White <dwhite@resnet.uoregon.edu> Cc: Chris Singer <csinger@workfire.com>, BSD Help <freebsd-questions@FreeBSD.ORG> Subject: Re: Changing eh name displayed at the Root prompt. Message-ID: <19990623064628.A351@fisicc-ufm.edu> In-Reply-To: <Pine.BSF.4.10.9906221200130.99084-100000@resnet.uoregon.edu>; from Doug White on Tue, Jun 22, 1999 at 12:00:19PM -0700 References: <000c01bebc3d$1e2d8840$0ea78e8b@maverick.workfire.com> <Pine.BSF.4.10.9906221200130.99084-100000@resnet.uoregon.edu>
next in thread | previous in thread | raw e-mail | index | archive | help
On Tue, Jun 22, 1999 at 12:00:19PM -0700, Doug White wrote: > On Mon, 21 Jun 1999, Chris Singer wrote: > > > Could someone tell me where I need to got or rather what file I need to > > modify to change the name of the root directory. I recompiled a file that > > had the same name and IP as another computer. I have changed the ip but > > whenever I login as root or use the super user function I get confused as to > > which machine I'm working on. They are both access via telnet. If anyone > > could help me out with this you it would be great. Thanks all for > > listening to my pleas for help. > > /etc/rc.conf > I think he meant changing the prompt. I mean from # to SysName# It depends on the shell you're using... I use tcsh and my .tcshrc says set prompt='%B%m%b %~ %# ' which gives me voyager ~ > when i'm logged in as myself, and voyager / # when I've sudo'd to root Notice the %~ which gives you the current working directory... Hope that helps. Regards, -Oscar -- For PGP Public Key: finger obonilla@fisicc-ufm.edu To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?19990623064628.A351>