Hi
In bash, what you see in the prompt is the $PS1 variable. you must have changed it
somehow. type the command 'export PS1="[\u@\h \W]\$ "' in the shell (without the '').
In the next line you should see the right prompt. If it works then set the variable in
'/etc/bashrc'. I guess tcsh has the same variables, so if you use tcsh then consult
the man page.
On Mon, Apr 02, 2001 at 07:52:49AM -0400, jhart wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> Greetz!
>
> I have a problem I hope someone can help me with. When I login as
> root to my linux box (Gazoo), the prompt reads "root@gazoo /root#".
> However, when I login as a user other than root, the prompt reads "I
> have no name!@gazoo johnh$" instead of "johnh@gazoo johnh$". What
> could be causing this? Please help.
>
> Thanks,
>
> JEH
>
> -----BEGIN PGP SIGNATURE-----
> Version: PGPfreeware 6.5.8 for non-commercial use <http://www.pgp.com>
>
> iQA/AwUBOshoEVEDN3D6fMQMEQLFLwCgtMjxZHBMHa/lAkcAOlTLN3O9n2sAoNu6
> q1cne6PvJydy3Giov5Ec/L+X
> =/5E1
> -----END PGP SIGNATURE-----
>
>
Bye
--
Haim