- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: home directory issue.
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Discussions
Discussions
Forums
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-26-2002 05:32 AM
тАО07-26-2002 05:32 AM
login: applmgr
Password:xxxx
It took me to the following directory:-
[SMM1:/u05/apps/applmgr]>
After a cold-install of HP-UX 11 on server B
when I log in to server B as applmgr:
login: applmgr
Password:
Unable to change directory to "/home/applmgr"
Logging in with home = "/".
It doesn't take me to the right directory, which is:
[SMT1:/u01/apps/applmgr]>
instead, I am at:
$
How can I set the directory right, so that each time when I log in as applmgr, it will point me to the right directory?
Thanks in advance.
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-26-2002 05:36 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-26-2002 05:37 AM
тАО07-26-2002 05:37 AM
Re: home directory issue.
grep appl /etc/passwd and look for /home/applmgr
do the same on server a and look for /u05/apps/applmgr
You can either change this with sam (advisable) or with vipw.
GL,
C
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-26-2002 05:38 AM
тАО07-26-2002 05:38 AM
Re: home directory issue.
You can change it in SAM, or with usermod, or an editor.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-26-2002 05:38 AM
тАО07-26-2002 05:38 AM
Re: home directory issue.
It appears to be currently set to /home/applmgr. Use vipw to change this to the correct location.
It's also worth checking the permissions of the correct home directory and any .profile/.login etc type files below it once you've done that.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-26-2002 05:38 AM
тАО07-26-2002 05:38 AM
Re: home directory issue.
This directory is not found, so it goes to /
Just change the path in /etc/passwd of this user to /u01/apps/applmgr
Regards,
Ceesjan
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-26-2002 05:55 AM
тАО07-26-2002 05:55 AM
Re: home directory issue.
if u are intended to have same users on both servers u can copy /etc/passwd of A to B. then it will work.
other wise issue
pwget -n applmgr --- it should display some thing like this
applmgr:7NLI0/1wJUaKo:103:20:,,,:/u01/apps/applmgr:/usr/bin/ksh
if not change it.
regds
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-26-2002 06:04 AM
тАО07-26-2002 06:04 AM
Re: home directory issue.
The home is set in /etc/passwd file in the netry for that user. In case you are not able to go to the home directory the following can be the reasons:
1. Home directory noy set in /etc/passwd file
2. Home directory set in the passwd file and not physically present .
3. the permissions of the home diorecotry so that the user can access it .
4.The length of the whole entry in /etc/passwd file is long so just reduce the comment field in that entry if the path of the home direcotry is long.
Manoj Srivastava
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-26-2002 06:36 AM
тАО07-26-2002 06:36 AM
Re: home directory issue.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-26-2002 06:41 AM
тАО07-26-2002 06:41 AM
Re: home directory issue.
Thanks to all of you.