Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Openssh, differenti metodi di autenticazione in base a utent
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Forum italiano (Italian)
View previous topic :: View next topic  
Author Message
primero.gentoo
Guru
Guru


Joined: 23 Dec 2003
Posts: 402

PostPosted: Mon Oct 25, 2004 9:16 am    Post subject: Openssh, differenti metodi di autenticazione in base a utent Reply with quote

Ciao a tutti.

Devo gestire l'accesso in SSH su una GentooBox ad un numero consistente di utenti.
Vorrei poter definire quali utenti devono usare un'autenticazione basata su password e quali invece debbano autenticarsi usando un certificato.

Ho risolto il problema in maniera "RAW" creando un file authorized_keys con privilegi di root per ogni utente garantendo su questo , tramite extended acl, la lettura da parte dell'utente interessato. Creando quindi file vuoti per quegli utenti che voglio si autentichino tramite password.

In questo modo raggiungo il mio scopo, impedendo inoltre agli utenti di modificare , o creare da soli, il file authorized_keys bypassando le mie decisioni :twisted:

Il punto e' che mi chiedevo se esiste un modo per specificare il metodo di autenticazione su base utente in maniera pulita nel file di configurazione di SSHD ... qualcuno ne sa qualcosa? Google non e' stato mio amico purtroppo :(

Ciao e grazias!!!
Primero
_________________
"Linux, the choice of a GNU generation"
==Micro$oft - just say NO==
(L#USER 353039)
Back to top
View user's profile Send private message
xchris
Advocate
Advocate


Joined: 10 Jul 2003
Posts: 2824

PostPosted: Mon Oct 25, 2004 10:15 am    Post subject: Reply with quote

mi sembra gia' un ottima soluzione...
purtroppo sshd non e' cosi' flessibile (pur essendo ottimo)
complimenti per l'idea :)
ciao
_________________
while True:Gentoo()
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Forum italiano (Italian) All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum