Subject: Re: Root .profile
To: Brian D Chase <firstname.lastname@example.org>
From: Curt Sampson <email@example.com>
Date: 04/11/1999 18:59:50
On Sun, 11 Apr 1999, Brian D Chase wrote:
> It would likely be wise to include logic
> to determine '$ ' vs '# ' prompts in case a normal user with /bin/sh
> decides to not have a $HOME/.profile
You don't need to do that in the profile; the shell does # for root
and $ for non-root automatically.
Curt Sampson <firstname.lastname@example.org> 604 801 5335 De gustibus, aut bene aut nihil.
The most widely ported operating system in the world: http://www.netbsd.org