Operating System - HP-UX
1836230 Members
1953 Online
110096 Solutions
New Discussion

Not able to get $ prompt for user login

 
Pankaj_22
Advisor

Not able to get $ prompt for user login

When I login through user I am not able to get $ prompt in Terminal Window. but when I login through root I can see the # prompt.
4 REPLIES 4
Muthukumar_5
Honored Contributor

Re: Not able to get $ prompt for user login

what you are seeing in that? echo ${PS1} will give that prompt settings. Are you getting any errors.

--
Muthu
Easy to suggest when don't know about the problem!
Arunvijai_4
Honored Contributor

Re: Not able to get $ prompt for user login

Hi Pankaj,

It depends on PS1 variable in your $HOME/.profile. Check that out what in it.

-Arun

"A ship in the harbor is safe, but that is not what ships are built for"
Peter Godron
Honored Contributor

Re: Not able to get $ prompt for user login

Pankaj,
is the problem that a normal user can not connect, or that there is a different prompt?

The prompt can be set by including for example:
PS1=`uname -n`::`whoami`'> '; export PS1
into the .profile file in the users home directory.
RAC_1
Honored Contributor

Re: Not able to get $ prompt for user login

It could be something in /etc/profile or .profile of user. Is the user having home dir on NFS mount??
There is no substitute to HARDWORK