Operating System - HP-UX
1832988 Members
2680 Online
110048 Solutions
New Discussion

Re: HPUX - Secure Shell, multiple users in one home directory

 
SOLVED
Go to solution
Mike Smith_33
Super Advisor

HPUX - Secure Shell, multiple users in one home directory

I have system running 11.11 with secure shell
A.04.20.004. I have several app support folk who have individual accounts with their home directory as the application top level directory.

One of the guys logged in (which put him in the app dir) and created his key. When the next guy logged in and tried to create his key, everything seemed to go normally but the file was unchanged.

Anybody have a similar setup?

Users A, B, and C all login to application directory D by default. How can each user gen their key?
3 REPLIES 3
Geoff Wild
Honored Contributor
Solution

Re: HPUX - Secure Shell, multiple users in one home directory

You can't do this - that's one of the security features of ssh....

Each user must have their own home dir and keys...

One way around this - gieve them all the same id - a generic one....

Rgds...Geoff
Proverbs 3:5,6 Trust in the Lord with all your heart and lean not on your own understanding; in all your ways acknowledge him, and he will make all your paths straight.
Ivan Ferreira
Honored Contributor

Re: HPUX - Secure Shell, multiple users in one home directory

You should configure a private home for each user, and then, generate the keys.

The users can have a cd to the app directory when the logon (in the profile), so they go there by default, but the private home is needed (also for security).
Por que hacerlo dificil si es posible hacerlo facil? - Why do it the hard way, when you can do it the easy way?
Mike Smith_33
Super Advisor

Re: HPUX - Secure Shell, multiple users in one home directory

Apparently we are not able to do this as we thought we would be able to. We will need to modify the home directory of the accounts in order to get this to work.