On Fri, Jul 13, 2001 at 02:18:42PM -0400, [EMAIL PROTECTED] <[EMAIL PROTECTED]> 
wrote:
| I have an odd question.  I have two users who log into the same home
| directory on a particular server.  Because of this, I have to give
| ownership of the parent directory to one, and made the other a member of
| that user's group.  Anyhow, the user who is the owner is also the owner of
| the ~/.ssh directory, and it's group is also owned by that user as well.
[ ssh security checks causing trouble ]

One thing you might consider is having their homedirs be different in the passwd
file, but having their .profile say:

        newHOME=/path/to/share/dir
        [ -d "$newHOME" ] && { cd "$newHOME"
                               HOME=$newHOME
                               export HOME
                             }

That way you can put properly owned .ssh dirs in their "real" homes and still
have their shells land in the shared area, with $HOME set to suit.

It would be a good first cut.
--
Cameron Simpson, DoD#743        [EMAIL PROTECTED]    http://www.zip.com.au/~cs/

It's in the rich legal tradition of Apple Computer who, in their famous
suit against Microsoft and HP, claimed that the idea of ripping off
Xerox was their intellectual property.
        - John Iodice <[EMAIL PROTECTED]>

Reply via email to