Operating System - HP-UX
1833759 Members
2208 Online
110063 Solutions
New Discussion

Re: Home directory can not be found

 
Steve Yang_2
Advisor

Home directory can not be found

I found I can not log on the Xwindows as oracle user. The message is :

The /home/oracle is not found. use / instead?

When I log on via telnet, I found that I am in / instead of /home/oracle. the /home/oracle is not there? I did not backup the system for a while because it is a test machine.

Is there a way to get /home/oracle back?

Thank you.
steve_yxf
4 REPLIES 4
Michael Tully
Honored Contributor

Re: Home directory can not be found

The directory/filesystem is not present. What is currently in /home? anything? Check the 'vgdisplay -v' output for the corresponding entry for /home in /fstab if there is one. Alternatively it is a remote /home from presumably another system using NFS

Anyone for a Mutiny ?
Jeff Schussele
Honored Contributor

Re: Home directory can not be found

Hi Steve,

Couple of things...

1) What is the *real* home dir for user oracle in the /etc/passwd file it is /home/oracle. Is that the way it really is? If it's gone recreate it, set perms/ownership on it & copy /etc/skel/* into it & again set perms/owener on the files.

2) IMPORTANT: One should *not* be directly logging in to "generic" accounts. You should be logging in as yourself & su over. Else you don't have real accounting - outside of IP tracking.

My $0.02,
Jeff
PERSEVERANCE -- Remember, whatever does not kill you only makes you stronger!
Steven E. Protter
Exalted Contributor

Re: Home directory can not be found

Home directories need to exist,they need to contain .sh_history files.

Its a basic requirment for sound systems administration.

The oracle account is a powerful user and there needs to be control of its profile and records of what it does.

My 1 cent.

SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
Steve Yang_2
Advisor

Re: Home directory can not be found

Thank you for your reply.

I just recreate the folder and change the ownership. All files I have lost I have to load them again.
steve_yxf