Welcome to the most active Linux Forum on the web.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 07-11-2006, 08:28 AM   #1
LQ Newbie
Registered: Jul 2006
Posts: 14

Rep: Reputation: 0
where to find .profile or .login for a specific user


i have just got the hands on my first redhat server.

I know that a prg is running under specific user and i want to change this users environment variables in .login or .profile, where do i find these files?

Is says

For the user that runs Domino, these environment settings should be entered into the .profile (Korn shell) or .login (C shell) to ensure the same environment settings are used each time you work with LEI. Before installing LEI, configure these environment variables for the appropriate platform you are working with.

and so on.

I found that there is a profile in /etc/profile.d, could it be this they mean? just to create a .profile with non extension?

Could someone pls tell me, iam guessing this is a easy q...

Last edited by bopedibop; 07-11-2006 at 08:33 AM.
Old 07-11-2006, 08:33 AM   #2
Senior Member
Registered: Jan 2005
Location: Manalapan, NJ
Distribution: Fedora x86 and x86_64, Debian PPC and ARM, Android
Posts: 4,593
Blog Entries: 2

Rep: Reputation: 344Reputation: 344Reputation: 344Reputation: 344
In bash, the default shell on RedHat, the file is '.bash_profile'.
Old 07-11-2006, 10:23 AM   #3
LQ Newbie
Registered: Jul 2006
Location: Kerala,India
Distribution: RHEL,SUSE
Posts: 8

Rep: Reputation: 0
To add you can find bash_profile in your home directory.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
How to allow specific user to login Vsftp server winxandlinx Linux - Networking 4 05-24-2006 06:47 AM
Find files, directories that are own by specific user mikeshn Linux - General 2 02-12-2004 03:52 PM
how to flash a message to a specific user on login mtest Programming 5 10-30-2003 01:36 AM
Where to find .profile or .login? sceadu Linux - Newbie 2 03-21-2003 12:06 AM
shell script to find user(s) profile j-me Programming 2 01-31-2003 11:16 AM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 09:07 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration