LinuxQuestions.org
Visit Jeremy's Blog.
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 08-23-2004, 02:45 PM   #1
Awesome Dude
LQ Newbie
 
Registered: Aug 2004
Posts: 7

Rep: Reputation: 0
.bash_profile overwritten on login to root


I've been making a few changes such as PATH etc to the .bash_profile in the root directory (as root), but when I log out of root and log back in, it appears that the .bash_profile has gotten overwritten as it is back to its default settings. None of the added PATHs etc took effect. What gives?
 
Old 08-23-2004, 03:41 PM   #2
Tinkster
Moderator
 
Registered: Apr 2002
Location: in a fallen world
Distribution: slackware by choice, others too :} ... android.
Posts: 23,066
Blog Entries: 11

Rep: Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910
Do you mean the file has been wiped out and
replaced with old contents?

To get a basic understanding of what bash does
during startup read
Code:
man bash
/INVOCATION

Cheers,
Tink
 
  


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
~/.bash_profile not being executed at login Radicalm16 Slackware 9 07-28-2009 10:39 PM
need root .bashrc .bash_profile darkRoom Slackware 5 04-30-2005 04:24 AM
.bash_profile as root knoxlinuxuser Linux - Newbie 3 02-26-2005 11:48 AM
can only login as root? user login doesnt work..? anyone? hacking_4_b33r Linux - General 1 02-06-2004 12:40 AM
Deleted the /root/.bash_profile, looking for default bparke Linux - Newbie 4 11-19-2003 07:12 PM


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