hi,
We have built linux from scratch. I am not getting the customised prompt
when i login as a user. But if I again switch to the same user i am getting
it.

For ex.
I have logged in as user logu, now the prompt is
sh-2.05a$

If I switch to the user again with the command 'su - logu', then the
expected prompt comes.
logu:~$
how do i rectify this. I dont have /etc/bashrc or /etc/profile. I have only
.bash_profile in my home dir.
but the same thing works fine for the user root.
Here is my .bash_profile file.
-------------------
PS1='\u:\w\$ '
PATH=/bin:/usr/bin:/sbin:/usr/sbin:/usr/local/bin:/usr/local/sbin

export PS1 PATH
alias "ls=ls --color=tty"
alias "rm=rm -i"
alias "cp=cp -i"
------------------

The bash version is 2.05a and the kernel is linux-2.4.18

-Logu


_______________________________________________________________

Have big pipes? SourceForge.net is looking for download mirrors. We supply
the hardware. You get the recognition. Email Us: [EMAIL PROTECTED]
_______________________________________________
linux-india-help mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/linux-india-help

Reply via email to