Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 20 Mar 2004 19:24:33 +0100
From:      Remko Lodder <remko@elvandar.org>
To:        Eric Yellin <eric@migvan.co.il>
Cc:        freeBSD <freebsd-questions@freebsd.org>
Subject:   Re: problem with su
Message-ID:  <405C8C61.8070208@elvandar.org>
In-Reply-To: <011b01c40ea2$a231ccc0$0851db3e@net.migvan.co.il>
References:  <011b01c40ea2$a231ccc0$0851db3e@net.migvan.co.il>

next in thread | previous in thread | raw e-mail | index | archive | help
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
> 
> _______________________________________________
> freebsd-questions@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org"

Hi Eric,

When you use `su -` you say to the su program, "Let me own the root 
profile and give it's settings to me, dropping my own settings".
use `su` if you want to say using your current settings.

Cheers



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?405C8C61.8070208>