I can't find the original email sent on this topic, but it says that the
hostname was replaced with the bash-2.05$. Are you simply referring to
the prompt? Or is the hostname actually saying it's bash-2.05$?
As for the request for a standard /etc/skel/.bashrc and
/etc/skel/.bash_profile, here's what I have. I have edited mine a bit
since I do have a few users that log on remotely to this machine.
==========================================================
[root@r2d2 skel]# less .bashrc
# .bashrc
# Source global definitions
if [ -r /etc/bashrc ]; then
. /etc/bashrc
fi
[root@r2d2 skel]# less .bash_profile
# .bash_profile
# Get the aliases and functions
if [ -f ~/.bashrc ]; then
. ~/.bashrc
fi
PATH=$PATH:$HOME/bin
USERNAME=`id -nu`
USERID=`id -nu`
export PATH USERNAME USERID BASH_ENV=$HOME/.bashrc
==========================================================
On some of my machines I actually have a simple /etc/skel/.aliases and I
add a line in /etc/skel/.bash_profile that reads:
souce $HOME/.aliases
I'm pretty sure I just misunderstood what you were talking about with
the bash-2.05$ for a hostname, but if that's the case, edit
/etc/sysconfig/network to have all your correct information.
Hope that comes in handy.
tdh
--
T. Holmes
-----------------
UNIXTECHS.org
[EMAIL PROTECTED]
-----------------
"Real Men Use Vi!"
Uptime:
--------------------------------------------------------------------
9:59am up 1:45, 4 users, load average: 0.00, 0.00, 0.00
--------------------------------------------------------------------
|
|
|
| On Thursday 06 September 2001 13:38, you wrote:
| > Does the user that you were loged in have permissons on his assigned home
| > directory?
| > The same happened to my a couple of days before, and I see in LunxConf that
| > the home directory of the user I was logging in was created by the root and
| > the user ddidn't have permissons . . .
| >
| > Maybe it's just a coincidence
| the user does have permissions to his home directerory, and furthermore the
| same thing occurs when logged in as root. when changing directory, that
| bash-2.05$
| doesn't change to bash -2.05/directory$ or anything, i am baffled
| >
|
| >
| > -----Original Message-----
| > From: [EMAIL PROTECTED]
| > [mailto:[EMAIL PROTECTED]]On Behalf Of antoine rivoire
| > Sent: Thursday, September 06, 2001 7:31 PM
| > To: [EMAIL PROTECTED]
| > Subject: [newbie] hostname: bash-2.05
| >
| >
| > hi
| > i think i might have seen somebody emailing about that prob before, but i
| > cant find it in the archive:
| > in term windows, my hostname has been replaced by
| > bash-2.05$
| > anybody?
|
| ----------------------------------------
| Content-Type: text/plain; charset="iso-8859-1"; name="message.footer"
| Content-Transfer-Encoding: 8bit
| Content-Description:
| ----------------------------------------
|
| Want to buy your Pack or Services from MandrakeSoft?
| Go to http://www.mandrakestore.com
------------------------------------------------------------------
Want to buy your Pack or Services from MandrakeSoft?
Go to http://www.mandrakestore.com