Solved

Login .profile

Posted on 2001-06-06
5
300 Views
Last Modified: 2013-12-27
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?
0
Comment
Question by:jonke
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
5 Comments
 
LVL 5

Accepted Solution

by:
Nisus091197 earned 50 total points
ID: 6159973
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
 
LVL 1

Expert Comment

by:mshivdas
ID: 6162024
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
 
LVL 2

Expert Comment

by:festive
ID: 6162839
.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
 
LVL 2

Author Comment

by:jonke
ID: 6176408
Cheers Nisus,this was enough to get me to the answer - the file was /.dtprofile, and the param was DTSOURCEPROFILE
0
 
LVL 2

Author Comment

by:jonke
ID: 6176409
Cheers Nisus,this was enough to get me to the answer - the file was /.dtprofile, and the param was DTSOURCEPROFILE
0

Featured Post

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

I promised to write further about my project, and here I am.  First, I needed to setup the Primary Server.  You can read how in this article: Setup FreeBSD Server with full HDD encryption (http://www.experts-exchange.com/OS/Unix/BSD/FreeBSD/A_3660-S…
Why Shell Scripting? Shell scripting is a powerful method of accessing UNIX systems and it is very flexible. Shell scripts are required when we want to execute a sequence of commands in Unix flavored operating systems. “Shell” is the command line i…
Learn several ways to interact with files and get file information from the bash shell. ls lists the contents of a directory: Using the -a flag displays hidden files: Using the -l flag formats the output in a long list: The file command gives us mor…
In a previous video, we went over how to export a DynamoDB table into Amazon S3.  In this video, we show how to load the export from S3 into a DynamoDB table.

623 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question