Operating System - HP-UX
1838378 Members
4460 Online
110125 Solutions
New Discussion

# or $ is not showing after the login

 
SOLVED
Go to solution
Balakumar M
Frequent Advisor

# or $ is not showing after the login

Hi All,
We are facing problem in one of our server in NIS evironment. Problem is when user login to the server its runs the posfile after that its doesn't shows any thing ( $,# prompt). User home directory are mounting from another server with autofs, rest of the server are working fine. But we could find any problem with one user id which as the home directory on the server itself. Could any one suggest me what could be the problem.

Thanks and regards,

Bala.
Life is a continues learning process
5 REPLIES 5
Frank Li
Trusted Contributor

Re: # or $ is not showing after the login

what the output of the following command ?

echo $PS1

if the output is empty , maybe some one revised the /etc/profile or his own profile ~/.profile .
Hi Friend
Shahul
Esteemed Contributor

Re: # or $ is not showing after the login

Hi

It is nothing but ur NFS problem. I faced the sam problem. Where is ur home directory, Go to that machine, Make sure that ur home directory is exported properly (checkup /etc/exports, /etc/hosts). Then run sam > networking and communication > networked filesystems > exported filesystems > action, then enable NFS server if it is disabled otherwise restart the NFS server service.

Best of luck


Shahul
Ravi_8
Honored Contributor

Re: # or $ is not showing after the login

Hi,
just press ctrl+c you get the prompt.
never give up
Wodisch
Honored Contributor
Solution

Re: # or $ is not showing after the login

Hello Balakumar,

could it be your users are using the shell history located
in their home-dirs? Then you need to have the file
locking working on the home-dir-NFS-server. Try to
move the histories temporarily to a local filesystem on
the user's machines (like "/tmp") by putting into the
"/etc/profile" or their private "$HOME/.profile" something
like:
(
umask 077
mkdir /tmp/$(logname)
)
export HISTFILE=/tmp/$(logname)/.sh_history

Then tell the users to re-login. Is it working now?
So you have a problem with the NFS server and the
file and record locking (rpc.statd, rpc.lockd).
Perhaps some NFS patches may help...

HTH,
Wodisch
Deshpande Prashant
Honored Contributor

Re: # or $ is not showing after the login

HI
check for the prompt setting (PS1) in /etc/profile and .profile in users' home dir.

Prashant.
Take it as it comes.