"Ruzsinszky Attila" <[EMAIL PROTECTED]> writes:

> Van pár user, akinek van egy admin nevű home-ja.
> Csoportjuk users.
>
> Feltöltöttem a privát kulcsokat a /home/admin/.ssh/authorized_keys2
> fájlba soronként.
>
> A usernevek nem admin-ok, természetesen.
>
> Vannak kétségeim, hogy így lehet "kulcsolni"?

Defaultból mind a $HOME, mind a $HOME/.ssh csak a tulaj számára lehet írható.

Lehetséges kiutak (man sshd):

  AuthorizedKeysFile
    Specifies the file that contains the public keys that can be used
    for user authentication.  AuthorizedKeysFile may contain tokens
    of the form %T which are substituted during connection set-up.
    The following tokens are defined: %% is replaced by a literal '%',
    %h is replaced by the home directory of the user being
    authenticated and %u is replaced by the username of that user.
    After expansion, AuthorizedKeysFile is taken to be an absolute
    path or one relative to the user's home directory.  The default
    is ".ssh/authorized_keys".

  StrictModes
    Specifies whether sshd should check file modes and ownership of
    the user's files and home directory before accepting login.  This
    is normally desirable because novices sometimes accidentally leave
    their directory or files world-writable.  The default is "yes".
-- 
                                                        Üdv: Feri.

_________________________________________________
linux lista      -      [email protected]
http://mlf2.linux.rulez.org/mailman/listinfo/linux

válasz