LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
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, 09: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 09:33 AM.
 
Old 07-11-2006, 09: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: 332Reputation: 332Reputation: 332Reputation: 332
In bash, the default shell on RedHat, the file is '.bash_profile'.
 
Old 07-11-2006, 11: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


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 07:47 AM
Find files, directories that are own by specific user mikeshn Linux - General 2 02-12-2004 04:52 PM
how to flash a message to a specific user on login mtest Programming 5 10-30-2003 02:36 AM
Where to find .profile or .login? sceadu Linux - Newbie 2 03-21-2003 01:06 AM
shell script to find user(s) profile j-me Programming 2 01-31-2003 12:16 PM


All times are GMT -5. The time now is 03:58 PM.

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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration