Cov txheej txheem:

SSH Pam yog dab tsi?
SSH Pam yog dab tsi?

Video: SSH Pam yog dab tsi?

Video: SSH Pam yog dab tsi?
Video: LES FRERES DE LA RUE 2024, Kaum ib hlis
Anonim

Pluggable Authentication Module ( PAM ) Submethod. Pluggable Authentication Module yog qhov kev lees paub tseeb uas siv hauv Unix systems. Thaum twg PAM yog siv, SSH Tectia Server hloov cov kev tswj ntawm authentication mus rau lub PAM tsev qiv ntawv, uas yuav ces thauj cov modules teev nyob rau hauv lub PAM configuration file.

Hauv no, siv PAM yog dab tsi?

PAM stands rau Pluggable Authentication Modules thiab yog siv los ua ntau hom haujlwm uas muaj kev lees paub, kev tso cai thiab qee qhov kev hloov kho (rau piv txwv hloov password). Nws tso cai rau tus thawj tswj hwm qhov system cais cov ntsiab lus ntawm kev lees paub cov haujlwm ntawm cov ntawv thov lawv tus kheej.

Tom qab ntawd, lo lus nug yog, Kuv yuav ua li cas thiaj li kaw Pam? Qhib lub PAM configuration file nyob rau hauv koj nyiam ntawv nyeem editor. Ntawm cov tshuab feem ntau koj tuaj yeem ua qhov no nyob rau hauv lub built-in "nano" editor los ntawm ntaus ntawv "nano /etc/ pam . conf." Nias "Enter" thiab ntawm kab saum toj kawg nkaus sau "skip-authentication".

Kuj paub yog, PAM cov ntaub ntawv yog dab tsi?

PAM Kev teeb tsa Cov ntaub ntawv . Txhua PAM -aware daim ntawv thov lossis kev pabcuam - raws li daim ntawv thov tsim los siv los ntawm ntau tus neeg siv feem ntau paub - muaj nws tus kheej ntaub ntawv hauv /etc/ pam . d/ directory. Cov no cov ntaub ntawv muaj ib tug tshwj xeeb layout uas muaj hu mus rau modules feem ntau nyob rau hauv lub /lib/security/ directory.

Kuv yuav paub li cas yog Pam tau qhib Linux?

Kev qhia

  1. Txhawm rau xyuas seb koj daim ntawv thov siv LINUX-PAM lossis tsis siv cov lus txib hauv qab no hauv koj lub davhlau ya nyob twg: $ ldd /bin/su.
  2. Kev teeb tsa ntawm LINUX-PAM yog nyob rau hauv phau ntawv qhia /etc/pam.d/. Qhib lub davhlau ya nyob twg ntawm koj lub Linux Operating system thiab mus rau pam directory los ntawm kev ntaus cov lus txib:
  3. Ces ntaus cov lus txib nram qab no.

Pom zoo: