- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: Problem when su - username / not going to spec...
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
тАО05-21-2002 02:00 PM
тАО05-21-2002 02:00 PM
Small problem that I am stuck with.
I am currently logged in as root under /(root), I issue a su - username it logs me in with this ID but when I issue a pwd as this ID I am currently in the /(root) filesystem and not my home destination. I cannot change out of this directory /(root) (which is okay).
This is giving us problems on two accounts.
Users configured with SAM and given a different location for home directory (/home/penac/outbound/executrack).
OS HP11.00
Can anyone help?
TIA
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-21-2002 02:10 PM
тАО05-21-2002 02:10 PM
SolutionAnother thought is that these are NIS users and there is local definition in the /etc/passwd file that is overridding NIS.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-21-2002 02:11 PM
тАО05-21-2002 02:11 PM
Re: Problem when su - username / not going to specified directory.
Have you confirmed the settings of the $HOME env variable for the 2 users, what is the home directory set to in /etc/passwd
echo $HOME
Regards
Steve
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-21-2002 02:16 PM
тАО05-21-2002 02:16 PM
Re: Problem when su - username / not going to specified directory.
This happens when either the home directory is not there or when the user doesnt have rwx permissions to acces the directory . If the home directory is ther then change the
permisions of the (/home/penac/outbound ) direcorty to rwx for all then you should be good to go.
Manoj Srivastava
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-21-2002 02:23 PM
тАО05-21-2002 02:23 PM
Re: Problem when su - username / not going to specified directory.
# pwck
just to make sure password file is clean.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-21-2002 07:19 PM
тАО05-21-2002 07:19 PM
Re: Problem when su - username / not going to specified directory.
Also check the length of the line in /etc/passwd I think try to reduce the comment field as the home diretory path is big.
Manoj Srivastava
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-22-2002 01:23 PM
тАО05-22-2002 01:23 PM
Re: Problem when su - username / not going to specified directory.
You all gave the answers that I was looking for but I had to open a call to HP for assistance(the user needed this ASAP). It was very simple, but easily overlooked, permissions issue.
I tried to reward you all points based on your answers. I would have given 10, but how do you expect me to catch up? Only kiddin.
Thanks again, this place rocks!
dcj