2 ################################################################################
4 # File: $RCSfile: root,v $
5 # Revision: $Revision: 1.4 $
6 # Description: Run a command/shell as root
7 # Author: Andrew@DeFaria.com
8 # Created: Mon Nov 13 16:14:30 1995
9 # Modified: $Date: 2010/06/08 15:03:27 $
12 # (c) Copyright 2000-2005, ClearSCM, Inc., all rights reserved.
14 ################################################################################
16 # Execute the commands
21 if [ -f ~/.rc/profile ]; then
25 # Source in functions (needed for set_title and set_prompt)
26 if [ -f ~/.rc/functions ]; then
32 # Reset title and prompt
33 # Note: I don't like doing this but an alias doesn't work...
34 if [ $ARCHITECTURE = "sun" ]; then