![]() |
|
|
|
|
|||||||
| Forums | Portal | Register | Forum Rules | FAQ | Contribute | Members List | Arcade | Search | Today's Posts | Mark Forums Read |
| UNIX for Dummies Questions & Answers If you're not sure where to post a UNIX or Linux question, post it here. All UNIX and Linux newbies welcome !! |
|
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Jumpstart "profile" with Solaris 8 | vasy | SUN Solaris | 4 | 06-10-2008 12:48 AM |
| Solaris 9 and .profile | woodson2 | SUN Solaris | 0 | 11-29-2006 12:46 PM |
| Difference between .profile and .~/.profile | maneesh mehta | SCO | 3 | 12-14-2005 01:35 AM |
| changed .profile but didnt ./.profile, yet reflected changes | yls177 | UNIX for Dummies Questions & Answers | 4 | 12-05-2002 08:21 AM |
| editing a profile on solaris 2.3 | phpote | UNIX for Dummies Questions & Answers | 7 | 08-20-2001 01:16 PM |
|
|
Submit Tools | LinkBack | Thread Tools | Display Modes |
|
#1
|
|||
|
|||
|
Where is the .profile on Solaris 10G
Hi,
I am trying to modifying the root user .profile file, but I cannot find it. If I do the command "echo $SHELL", i get /sbin/sh Where is the .profile located at? Sun's doc says the users home folder. I'm logged in as root, but when I go "/home", I don't see it Please help |
| Forum Sponsor | ||
|
|
|
#2
|
|||
|
|||
|
the .profile on Solaris 10G
The .profile will be available in '/' . Check it there.
|
|
#3
|
||||
|
||||
|
Quote:
Check in /etc/passwd what is the HOME set for the root user. goto root home and ls -a |
|
#4
|
|||
|
|||
|
Hi,
Is there some type of special command I have to type to access it? For example, I'm in '/' now. So, I execute the command "vi .profile" and it creates a new file, so it's not finding the .profile. Ultimately, I would like to add an environment variable to this file. I have found a .profile in /export/home, but it has none of the entries that I see when i execute the env command? |
|
#5
|
||||
|
||||
|
It sounds like you don't have a .profile yet. So just create one.
|
|
#6
|
|||
|
|||
|
Hi,
in passwd file, the entry for root is below: root:x:0:10:Super-User:/:/sbin/sh Well, if I don't have a .profile, what files are my environment variables being set in. if I do a env, I can already see values set the $PATH, I just cannot find the file where these values are stored. |
|
#7
|
||||
|
||||
|
The login program will initialize the environment if you went though the login program. Documented in "man login" Then most shells have a global startup script that affects all users. Documented in the man page for your shell...in this case /etc/profile.
|
||||
| Google The UNIX and Linux Forums |