Latest LQ Deal: Linux Power User Bundle
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 08-23-2004, 01: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, 02:41 PM   #2
Registered: Apr 2002
Location: in a fallen world
Distribution: slackware by choice, others too :} ... android.
Posts: 23,067
Blog Entries: 11

Rep: Reputation: 911Reputation: 911Reputation: 911Reputation: 911Reputation: 911Reputation: 911Reputation: 911Reputation: 911
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
man bash



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

All times are GMT -5. The time now is 12:54 PM.

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