Unix/Linux Go Back    


Solaris The Solaris Operating System, usually known simply as Solaris, is a Unix-based operating system introduced by Sun Microsystems. The Solaris OS is now owned by Oracle.

.profile for root ?

Solaris


Closed    
 
Thread Tools Search this Thread Display Modes
    #1  
Old Unix and Linux 06-21-2005   -   Original Discussion by sveera
sveera's Unix or Linux Image
sveera sveera is offline
Registered User
 
Join Date: Mar 2005
Last Activity: 15 August 2005, 4:52 PM EDT
Location: INDIA
Posts: 60
Thanks: 0
Thanked 0 Times in 0 Posts
Power .profile for root ?

Hi friends,

On a Solaris system is the .profile executed for the user root also as it is for any normal user ?
if i have to change the PATH variable can i add it to the .profile?
and by default ther .profile is not found in the / directory. i can see it in /etc as /etc/profile.
Should i copy this file into the / directory which is the root directory for the root login ?
if not then what is the file that is used by default ?
Please help.
Thanks in advance
Veera
Sponsored Links
    #2  
Old Unix and Linux 06-22-2005   -   Original Discussion by sveera
RTM's Unix or Linux Image
RTM RTM is offline Forum Advisor  
Registered User
 
Join Date: Apr 2002
Last Activity: 16 August 2017, 7:13 PM EDT
Location: On my motorcycle
Posts: 3,093
Thanks: 1
Thanked 34 Times in 9 Posts
You can copy the file from /etc/skel/local.profile to / (or wherever your root account's home is) and then edit it to your preference.
Sponsored Links
Closed

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Linux More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
aix 6.1 root .profile not found islam.said AIX 1 05-19-2010 09:56 AM
Ho to copy root profile? fraydey AIX 1 06-27-2008 11:48 AM
trying to add .profile for root liven Solaris 4 05-14-2008 04:29 PM
How to change root's .profile settings FredSmith UNIX for Dummies Questions & Answers 1 08-07-2006 03:57 PM
SunOS - root's .profile xadamz23 UNIX for Dummies Questions & Answers 3 08-08-2003 04:40 AM



All times are GMT -4. The time now is 08:01 AM.