On Fri, 17 May 2002, Logu wrote:

> 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.

check the default shell for the user 'logu'.  I don't think
'sh-2.05a$' is the default prompt for bash.  It is the
default prompt for sh (the Bourne Shell).  If I am right your
.bash_profile is not being read at all during the login.
But I can't understand how the customised prompt works only
during an 'su' command.
-- 
Chiranth

[EMAIL PROTECTED]
http://symonds.net/~chiranth
ICQ : 116200206


_______________________________________________________________
Hundreds of nodes, one monster rendering program.
Now that's a super model! Visit http://clustering.foundries.sf.net/

_______________________________________________
linux-india-help mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/linux-india-help

Reply via email to