Subject: Re: Root .profile
To: Brian D Chase <bdc@world.std.com>
From: Curt Sampson <cjs@cynic.net>
List: current-users
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.

cjs
-- 
Curt Sampson  <cjs@cynic.net>   604 801 5335   De gustibus, aut bene aut nihil.
The most widely ported operating system in the world: http://www.netbsd.org