LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 06-10-2013, 08:32 PM   #1
KenMeagher
LQ Newbie
 
Registered: Jun 2013
Location: South Carolina
Posts: 3

Rep: Reputation: Disabled
Update $HOME/.bashrc for hduser


Hello,
I am trying to install Hadoop 1.0.3 and the instructions say that I need to update the .bashrc file of the user that will use the hadoop system. I have found the bashrc file in the admin account and then in the other user account. it seems to be the same. My question is is this actually the same file? or is there really a separate file for each user?
 
Old 06-10-2013, 09:03 PM   #2
evo2
LQ Guru
 
Registered: Jan 2009
Location: Japan
Distribution: Mostly Debian and CentOS
Posts: 6,075

Rep: Reputation: 1433Reputation: 1433Reputation: 1433Reputation: 1433Reputation: 1433Reputation: 1433Reputation: 1433Reputation: 1433Reputation: 1433Reputation: 1433
Hi,

they will be different files, but quite possibly be identical since they were most likely automatically copied from /etc/skel/.bashrc when the accounts were created.

Evo2.
 
Old 06-11-2013, 02:30 PM   #3
David the H.
Bash Guru
 
Registered: Jun 2004
Location: Osaka, Japan
Distribution: Debian + kde 4 / 5
Posts: 6,848

Rep: Reputation: 2012Reputation: 2012Reputation: 2012Reputation: 2012Reputation: 2012Reputation: 2012Reputation: 2012Reputation: 2012Reputation: 2012Reputation: 2012Reputation: 2012
Read the man bash > INVOCATION section for a description of what files it loads on startup.

In general, the /etc one is loaded first, then the one in the user's home directory, if it exists. So the first is used for global settings, and the latter for personal settings, which can overwrite the globals.
 
  


Reply

Tags
bashrc sudoers


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 use this command /root/.bashrc: export XAUTHORITHY=/home/<user>/.Xauthority linuxer2013 Linux - Newbie 8 01-08-2013 10:06 AM
[SOLVED] How to use my /home/kangjoo/.bashrc rather than root/.bashrc kangjoo.lee Linux - Newbie 2 11-05-2012 04:38 PM
not able to call .bashrc in my home login wagmare Linux - Newbie 9 04-10-2012 02:24 AM
setting multiple java home variables in linux/.bashrc kaloon88 Linux - Newbie 3 11-30-2011 07:43 AM
create a variable in the .bashrc file in my home directory coldbeerz Linux - Newbie 2 12-14-2007 10:48 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 07:19 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