Subject: Re: Root .profile
To: Brian D Chase <>
From: Curt Sampson <>
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.

Curt Sampson  <>   604 801 5335   De gustibus, aut bene aut nihil.
The most widely ported operating system in the world: