[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [linux] PAM et sa config



-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1


 Ca dépend des distribs, mais il y a soit un fichier pam.conf dans /etc, 
 soit un répertoire pam.d dans /etc, lequel contient une série de fichiers par
services en fait. J'ai bien un fichier rsh , que voici :

<---cut here--->
#%PAM-1.0
auth     required       /lib/security/pam_rhosts_auth.so
auth     required       /lib/security/pam_nologin.so
account  required       /lib/security/pam_unix.so
password required       /lib/security/pam_unix.so
session  required       /lib/security/pam_unix.so       none # debug or trace
<---cut here--->

Hope this help you.
Benjamin

On 23 Jan 2002, Bogo Mips wrote:

> Bonsoir,
> 
> Je me bats avec rshd entre plusieurs serveurs RedHat et AIX. Je viens de mettre le nez dans ce truc qui me semble interessant & je suppose que la solution à mon probleme est au bout de PAM :-)
> 
> Voici le topo...
> 
> [root@host alcatraz]# tail -10 /var/log/messages
> Jan 23 16:24:09 host pam_rhosts_auth[14807]: denied to alcatraz@server as
> alcatraz: access not allowed
> Jan 23 16:24:09 host in.rshd[14807]: rsh denied to alcatraz@server as
> alcatraz: Permission denied.
> Jan 23 16:24:47 host pam_rhosts_auth[14808]: denied to alcatraz@server as
> alcatraz: access not allowed
> Jan 23 16:24:47 host in.rshd[14808]: rsh denied to alcatraz@server as
> alcatraz: Permission denied.
> Jan 23 16:25:03 host su(pam_unix)[14811]: session opened for user alcatraz
> by rqu(uid=0)
> Jan 23 16:25:23 host su(pam_unix)[14811]: session closed for user alcatraz
> Jan 23 16:25:41 host pam_rhosts_auth[14841]: denied to alcatraz@server as
> alcatraz: access not allowed
> Jan 23 16:25:41 host in.rshd[14841]: rsh denied to alcatraz@server as
> alcatraz: Permission denied.
> Jan 23 16:26:58 host pam_rhosts_auth[14848]: denied to alcatraz@server as
> alcatraz: access not allowed
> Jan 23 16:26:58 host in.rshd[14848]: rsh denied to alcatraz@server as
> alcatraz: Permission denied.
> [root@host alcatraz]#
> 
> Sur la machine RedHat, je ne trouve pas le fichier pam.conf...
> 
> Je fais comment pour configurer ce truc? 
> 
> Merci,
> 
> Bogomips
> 
> 
> 
> Find the best deals on the web at AltaVista Shopping!
> http://www.shopping.altavista.com
> _______________________________________________
> Linux Mailing List
> Archives: http://unixtech.be/mailman/listinfo/linux
> 


Cybersalutations
Benjamin Gonay

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.6 (GNU/Linux)
Comment: Made with pgp4pine

iD8DBQE8T6/afDzedWFgakERAloWAJ9cb+CtwIuNPe57aWbfBWdRmx/EAACdEGEn
CponVoYr4do7tA3kshfHc5c=
=YQ62
-----END PGP SIGNATURE-----


_______________________________________________
Linux Mailing List
Archives: http://unixtech.be/mailman/listinfo/linux