Login .profile

Hi- simple question I think - I have set up the .profile for the root user. This gets picked up when I telnet to the box, but not when I login on the console.

Consequently I have to telnet localhost, when logged in on the console and I start a terminal. (Or / /.profile).

Why?
LVL 2
jonkeAsked:
Who is Participating?
 
Nisus091197Connect With a Mentor Commented:
Are you using CDE?

If so you need to set a parameter to source the .profile

Have a look at the dtprofile in /.dt.  The variable is called something like 'SOURCEDTPROFILE'.

Regards, Nisus
http://www.omnimodo.com

0
 
mshivdasCommented:
When you telnet to the box, are you logging in as root?  Or are you logging in as a user and su'ing to root?
0
 
festiveCommented:
.profile only gets executed when you run the "login" program - if using XWindows etc then you have have to edit .dtlogin (among other files), for this functionality.
0
 
jonkeAuthor Commented:
Cheers Nisus,this was enough to get me to the answer - the file was /.dtprofile, and the param was DTSOURCEPROFILE
0
 
jonkeAuthor Commented:
Cheers Nisus,this was enough to get me to the answer - the file was /.dtprofile, and the param was DTSOURCEPROFILE
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.