Nicolas Viers - SCI - <[EMAIL PROTECTED]> writes:
> Bonjour,
> sur un unix il est impossible � un utilisateur lambda de passer
> superutilisateur (su) s'il n'appartien pas au groupe root.
> Pourquoi n'est ce pas le cas sur Linux
Question de philosophie. C'est de toute fa�on modifiable.
> et comment y rem�dier ?
Voici quelques exemples d'utilisation de PAM. Le premier r�pond � la
question.
/etc/pam.d/su :
# Uncomment this to force users to be a member of group root
# before than can use `su'. You can also add "group=foo" to
# to the end of this line if you want to use a group other
# than the default "root".
# (Replaces the `SU_WHEEL_ONLY' option from login.defs)
# auth required pam_wheel.so
# Uncomment this if you want wheel members to be able to
# su without a password.
# auth sufficient pam_wheel.so trust
# Uncomment this if you want members of a specific group to not
# be allowed to use su at all.
# auth required pam_wheel.so deny group=nosu
Jean Charles
--
Jean Charles Del�pine - �quipe R�seaux T�l�coms - Universit� de Picardie
-+- If NT is the answer, you didn't understand the question. -+-