Operating System - HP-UX
1827435 Members
5223 Online
109965 Solutions
New Discussion

Re: login prompt having issue

 
SOLVED
Go to solution
shikhar_1
Regular Advisor

login prompt having issue

Anyone please let me know how to set the login prompt as i m getting this while trying to login to the server.

 

Unmatched `.
[1] %

 then i have to type csh then complete prompt coming as shown below:


[1] % csh
mddszed1:rddadm 21> pwd
/home/rddadm
mddszed1:rddadm 22>

Can't be possible that it should come as directly:

 

mddszed1:rddadm 22>

 

Please reply.

1 REPLY 1
Patrick Wallek
Honored Contributor
Solution

Re: login prompt having issue

Do you get that for all users or just a single user?  What is the default shell for the user(s)?  Is it supposed to be csh?  Or is it sh?

 

I suspect the problem is related to someone setting up something custom in one of your login files (/etc/profile, /etc/cshrc, ~/.profile, ~/.cshrc, etc.).  Someone likely used back-ticks (backward apostrophes , ` ) to run a command and didn't close it.  Thus, the "Unmatched `. " error.