cancel
Showing results for 
Search instead for 
Did you mean: 

su login error

SOLVED
Go to solution
bhargavi
Advisor

su login error

I am not able to login in my user id. Please suggest me how to login in my user id.
====================================
HP-UX lccxx009 B.11.11 U 9000/800 (tc)

login: aiyadura
Password:
Last successful login for aiyadura: Tue Jan 26 07:59:06 EST5EDT 2010 on tty
Last unsuccessful login for aiyadura: NEVER
Please wait...checking for disk quotas
The copyright notice can be read by typing: cat /etc/copyright.text
$ pwd
sh: : Cannot access parent directories.
$
==========================================
Please treat this issue as urgent.
11 REPLIES
Jupinder Bedi
Respected Contributor

Re: su login error

Please send the output of .profile of your home directory and the output of /etc/passwd file
All things excellent are as difficult as they are rare
Dennis Handly
Acclaimed Contributor

Re: su login error

What does "echo $PWD" show?
How about "cd ~; pwd"?
TTr
Honored Contributor

Re: su login error

> sh: : Cannot access parent directories.

There is no problem with loging in here. the problem is with this user's home directory. It is either deleted on if it is not available. Usually happens if the home diretory is on another server and it is made available via NFS and the NFS mount is not there.

Have the root user check this user's home directory.
bhargavi
Advisor

Re: su login error

Thanks for your replies.
All the users in this particular server find this error.
could not find the home directory either it shows / as home directory

lccxx009# pwd
/home/bdhanapa
lccxx009# su - bdhanapa
The copyright notice can be read by typing: cat /etc/copyright.text
$ pwd
sh: : Cannot access parent directories.
$

lccxx009# pwd
/
lccxx009# su - bdhanapa
The copyright notice can be read by typing: cat /etc/copyright.text
$ pwd
/
$
TTr
Honored Contributor

Re: su login error

You need to check the disk volume/filesystem for the home directories. Check the home directory path for the users by looking up the /etc/passwd file. Then verify that path is available by checking each directory level and running "bdf". Either your NFS server is not available or a disk has failed.
bhargavi
Advisor

Re: su login error

Disk looks good and no problem found regarding the disk volume/filesystem
TTr
Honored Contributor

Re: su login error

It would help if you provided some details about what you are checking. Can you give an example of a user's home directory path? Did you check as root all the paths leading to the user home directories. Are the *permissions* of each path set to allow the users to see these directories?
TTr
Honored Contributor
Solution

Re: su login error

Did you check /home and under it? Are the permissions of /home good so that the users can access it? Do you see the user subdirectories under /home? Do they have the right permissions?
Steven Schweda
Honored Contributor

Re: su login error

> Please treat this issue as urgent.

Please answer some questions. Someday?

http://forums.itrc.hp.com/service/forums/questionanswer.do?threadId=1402850
bhargavi
Advisor

Re: su login error

Thanks everyone.
/home permission was wrong, changed the same and it worked fine later.
bhargavi
Advisor

Re: su login error

Closed