LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
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!

Notices


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

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


Hello

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
macemoneta
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
redhat143
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.
 
  


Reply



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

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 06:21 AM.

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