pam mount - meu prompt de senha agora diz pam_mount password:

1

Estou usando o pam_mount para montar o diretório pessoal dos usuários ao fazer login com êxito no sistema. Funciona; no entanto, o prompt da senha diz:

pam_mount password:

Em vez de apenas:

senha:

Como posso alterá-lo de volta para o original mantendo pam_mount?

Obrigado,

Walter

    
por Walter 15.02.2011 / 19:01

2 respostas

3

Mova o pam_mount abaixo pam_unix na pilha do PAM.

    
por 15.02.2011 / 20:32
1

Em man pam_mount.conf :

Name

pam_mount.conf - Description of the pam_mount configuration file

Overview

The pam_mount configuration file defines soft defaults for commands pam_mount will be executing, the messages it will show, and which volumes to mount on login. Since pam_mount 0.18, the configuration file is written in XML so as to simplify the pam_mount code base while giving formatting freedom to the end-user. Special characters like <, > and & that are used by XML itself must be encoded as &lt;, &gt; and &amp;, respectively; additionally, " must be encoded as &quot; within a "" area, but these three/four symbols are unlikely to be seen often anyway.

. . .

Messages

<msg-authpw>pam_mount password:</msg-authpw>
When pam_mount is not used with "use_first_pass" or "try_first_pass" keywords in the PAM configuration files (/etc/pam.d/), it will have to ask for a password. This is also the case if pam_mount is the first auth module in the block. allows you to customize that prompt.

<msg-sessionpw>reenter...:</msg-sessionpw>
In case the 'session' PAM block does not have the password (e.g. on su from root to user), it will ask again. This prompt can also be customized.

    
por 15.02.2011 / 19:52