<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=utf-8">
<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:st1="urn:schemas-microsoft-com:office:smarttags" xmlns="http://www.w3.org/TR/REC-html40">

<head>

<meta name=Generator content="Microsoft Word 11 (filtered medium)">
<!--[if !mso]>
<style>
v\:* {behavior:url(#default#VML);}
o\:* {behavior:url(#default#VML);}
w\:* {behavior:url(#default#VML);}
.shape {behavior:url(#default#VML);}
</style>
<![endif]--><o:SmartTagType
 namespaceuri="urn:schemas-microsoft-com:office:smarttags" name="City"/>
<o:SmartTagType namespaceuri="urn:schemas-microsoft-com:office:smarttags"
 name="place"/>
<o:SmartTagType namespaceuri="urn:schemas-microsoft-com:office:smarttags"
 name="chsdate"/>
<o:SmartTagType namespaceuri="urn:schemas-microsoft-com:office:smarttags"
 name="PersonName"/>
<!--[if !mso]>
<style>
st1\:*{behavior:url(#default#ieooui) }
</style>
<![endif]-->
<style>
<!--
 /* Font Definitions */
 @font-face
        {font-family:SimSun;
        panose-1:2 1 6 0 3 1 1 1 1 1;}
@font-face
        {font-family:SimSun;
        panose-1:2 1 6 0 3 1 1 1 1 1;}
 /* Style Definitions */
 p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0cm;
        margin-bottom:.0001pt;
        text-align:justify;
        text-justify:inter-ideograph;
        font-size:10.5pt;
        font-family:"Times New Roman";
        color:black;}
a:link, span.MsoHyperlink
        {color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {color:purple;
        text-decoration:underline;}
pre
        {margin:0cm;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:SimSun;
        color:black;}
span.EmailStyle18
        {mso-style-type:personal;
        font-family:Arial;
        color:windowtext;}
span.EmailStyle19
        {mso-style-type:personal-reply;
        font-family:Arial;
        color:navy;}
@page Section1
        {size:595.3pt 841.9pt;
        margin:72.0pt 90.0pt 72.0pt 90.0pt;
        layout-grid:15.6pt;}
div.Section1
        {page:Section1;}
-->
</style>
<!--[if gte mso 9]><xml>
 <o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
 <o:shapelayout v:ext="edit">
  <o:idmap v:ext="edit" data="1" />
 </o:shapelayout></xml><![endif]-->
</head>

<body bgcolor=white lang=ZH-CN link=blue vlink=purple>

<div class=Section1 style='layout-grid:15.6pt'>

<p class=MsoNormal><font size=1 color=navy face=Arial><span lang=EN-US
style='font-size:9.0pt;font-family:Arial;color:navy'>I see ,thanks!<o:p></o:p></span></font></p>

<p class=MsoNormal><font size=1 color=navy face=Arial><span lang=EN-US
style='font-size:9.0pt;font-family:Arial;color:navy'><o:p> </o:p></span></font></p>

<div>

<div class=MsoNormal align=center style='text-align:center'><font size=3
color=black face="Times New Roman"><span lang=EN-US style='font-size:12.0pt;
color:windowtext'>

<hr size=2 width="100%" align=center tabindex=-1>

</span></font></div>

<p class=MsoNormal align=left style='text-align:left'><b><font size=2
color=black face=宋体><span style='font-size:10.0pt;font-family:
SimSun;color:windowtext;font-weight:bold'>发件人<span
lang=EN-US>:</span></span></font></b><font size=2 color=black face=宋体><span
lang=EN-US style='font-size:10.0pt;font-family:SimSun;color:windowtext'>
pam-list-bounces@redhat.com [mailto:pam-list-bounces@redhat.com] </span></font><b><font
size=2 color=black face=宋体><span style='font-size:10.0pt;
font-family:SimSun;color:windowtext;font-weight:bold'>代表 </span></font></b><font
size=2 color=black face=宋体><span lang=EN-US style='font-size:
10.0pt;font-family:SimSun;color:windowtext'>Andreas Schindler<br>
</span></font><b><font size=2 color=black face=宋体><span
style='font-size:10.0pt;font-family:SimSun;color:windowtext;font-weight:bold'>发送时间<span
lang=EN-US>:</span></span></font></b><font size=2 color=black face=宋体><span
lang=EN-US style='font-size:10.0pt;font-family:SimSun;color:windowtext'> <st1:chsdate
IsROCDate="False" IsLunarDate="False" Day="30" Month="12" Year="2007" w:st="on">2007<span
 lang=EN-US><span lang=EN-US>年12</span></span><span lang=EN-US><span
 lang=EN-US>月30</span></span><span lang=EN-US><span lang=EN-US>日</span></span></st1:chsdate>
21:54<br>
</span></font><b><font size=2 color=black face=宋体><span
style='font-size:10.0pt;font-family:SimSun;color:windowtext;font-weight:bold'>收件人<span
lang=EN-US>:</span></span></font></b><font size=2 color=black face=宋体><span
lang=EN-US style='font-size:10.0pt;font-family:SimSun;color:windowtext'> <st1:PersonName
w:st="on">pam-list@redhat.com</st1:PersonName><br>
</span></font><b><font size=2 color=black face=宋体><span
style='font-size:10.0pt;font-family:SimSun;color:windowtext;font-weight:bold'>主题<span
lang=EN-US>:</span></span></font></b><font size=2 color=black face=宋体><span
lang=EN-US style='font-size:10.0pt;font-family:SimSun;color:windowtext'> Re:
Pam-list Digest, Vol 46, Issue 16</span></font><font size=3 color=black><span
lang=EN-US style='font-size:12.0pt;color:windowtext'><o:p></o:p></span></font></p>

</div>

<p class=MsoNormal align=left style='text-align:left'><font size=2 color=black
face="Times New Roman"><span lang=EN-US style='font-size:10.5pt'><o:p> </o:p></span></font></p>

<p class=MsoNormal><font size=2 color=black face="Times New Roman"><span
lang=EN-US style='font-size:10.5pt'><a href="mailto:pam-list-request@redhat.com">pam-list-request@redhat.com</a>
schrieb: <o:p></o:p></span></font></p>

<pre wrap=""><font size=3 color=black face=宋体><span lang=EN-US
style='font-size:12.0pt'>Send Pam-list mailing list submissions to<o:p></o:p></span></font></pre><pre><font
size=3 color=black face=宋体><span lang=EN-US style='font-size:
12.0pt'>        <a href="mailto:pam-list@redhat.com">pam-list@redhat.com</a><o:p></o:p></span></font></pre><pre><font
size=3 color=black face=宋体><span lang=EN-US style='font-size:
12.0pt'><o:p> </o:p></span></font></pre><pre><font size=3 color=black
face=宋体><span lang=EN-US style='font-size:12.0pt'>To subscribe or unsubscribe via the World Wide Web, visit<o:p></o:p></span></font></pre><pre><font
size=3 color=black face=宋体><span lang=EN-US style='font-size:
12.0pt'>        <a href="https://www.redhat.com/mailman/listinfo/pam-list">https://www.redhat.com/mailman/listinfo/pam-list</a><o:p></o:p></span></font></pre><pre><font
size=3 color=black face=宋体><span lang=EN-US style='font-size:
12.0pt'>or, via email, send a message with subject or body 'help' to<o:p></o:p></span></font></pre><pre><font
size=3 color=black face=宋体><span lang=EN-US style='font-size:
12.0pt'>        <a href="mailto:pam-list-request@redhat.com">pam-list-request@redhat.com</a><o:p></o:p></span></font></pre><pre><font
size=3 color=black face=宋体><span lang=EN-US style='font-size:
12.0pt'><o:p> </o:p></span></font></pre><pre><font size=3 color=black
face=宋体><span lang=EN-US style='font-size:12.0pt'>You can reach the person managing the list at<o:p></o:p></span></font></pre><pre><font
size=3 color=black face=宋体><span lang=EN-US style='font-size:
12.0pt'>        <a href="mailto:pam-list-owner@redhat.com">pam-list-owner@redhat.com</a><o:p></o:p></span></font></pre><pre><font
size=3 color=black face=宋体><span lang=EN-US style='font-size:
12.0pt'><o:p> </o:p></span></font></pre><pre><font size=3 color=black
face=宋体><span lang=EN-US style='font-size:12.0pt'>When replying, please edit your Subject line so it is more specific<o:p></o:p></span></font></pre><pre><font
size=3 color=black face=宋体><span lang=EN-US style='font-size:
12.0pt'>than "Re: Contents of Pam-list digest..."<o:p></o:p></span></font></pre><pre><font
size=3 color=black face=宋体><span lang=EN-US style='font-size:
12.0pt'>  <o:p></o:p></span></font></pre><pre wrap=""><font size=3 color=black
face=宋体><span lang=EN-US style='font-size:12.0pt'><o:p> </o:p></span></font></pre><pre
style='text-align:center'><font size=3 color=black face=宋体><span
lang=EN-US style='font-size:12.0pt'>

<hr size=4 width="90%" align=center>

</span></font></pre><pre><font size=3 color=black face=宋体><span
lang=EN-US style='font-size:12.0pt'><o:p> </o:p></span></font></pre><pre><font
size=3 color=black face=宋体><span lang=EN-US style='font-size:
12.0pt'>Today's Topics:<o:p></o:p></span></font></pre><pre><font size=3
color=black face=宋体><span lang=EN-US style='font-size:12.0pt'><o:p> </o:p></span></font></pre><pre><font
size=3 color=black face=宋体><span lang=EN-US style='font-size:
12.0pt'>   1. the item ruser of pam_listfile.so  cann`t work (liuruihong)<o:p></o:p></span></font></pre><pre><font
size=3 color=black face=宋体><span lang=EN-US style='font-size:
12.0pt'>  <o:p></o:p></span></font></pre>

<p class=MsoNormal><font size=2 color=black face="Times New Roman"><span
lang=EN-US style='font-size:10.5pt'><o:p> </o:p></span></font></p>

<div class=MsoNormal align=center style='text-align:center'><font size=2
color=black face="Times New Roman"><span lang=EN-US style='font-size:10.5pt'>

<hr size=4 width="90%" align=center>

</span></font></div>

<p class=MsoNormal><font size=2 color=black face="Times New Roman"><span
lang=EN-US style='font-size:10.5pt'><o:p> </o:p></span></font></p>

<table class=MsoNormalTable border=0 cellspacing=0 cellpadding=0 width="100%"
 style='width:100.0%'>
 <tr>
  <td style='padding:0cm 0cm 0cm 0cm'>
  <div>
  <p class=MsoNormal><font size=2 color=black face="Times New Roman"><span
  lang=EN-US style='font-size:10.5pt'>Betreff: <o:p></o:p></span></font></p>
  </div>
  <p class=MsoNormal><font size=2 color=black face="Times New Roman"><span
  lang=EN-US style='font-size:10.5pt'>the item ruser of pam_listfile.so cann`t
  work</span></font><font size=3 face=宋体><span lang=EN-US
  style='font-size:12.0pt;font-family:SimSun'><o:p></o:p></span></font></p>
  </td>
 </tr>
 <tr>
  <td style='padding:0cm 0cm 0cm 0cm'>
  <div>
  <p class=MsoNormal><font size=2 color=black face="Times New Roman"><span
  lang=EN-US style='font-size:10.5pt'>Von: <o:p></o:p></span></font></p>
  </div>
  <p class=MsoNormal><font size=2 color=black face="Times New Roman"><span
  lang=EN-US style='font-size:10.5pt'>"liuruihong" <a
  href="mailto:liuruihong@baidu.com"><liuruihong@baidu.com></a></span></font><font
  size=3 face=宋体><span lang=EN-US style='font-size:12.0pt;
  font-family:SimSun'><o:p></o:p></span></font></p>
  </td>
 </tr>
 <tr>
  <td style='padding:0cm 0cm 0cm 0cm'>
  <div>
  <p class=MsoNormal><font size=2 color=black face="Times New Roman"><span
  lang=EN-US style='font-size:10.5pt'>Datum: <o:p></o:p></span></font></p>
  </div>
  <p class=MsoNormal><font size=2 color=black face="Times New Roman"><span
  lang=EN-US style='font-size:10.5pt'>Sat, 29 Dec 2007 12:04:19 +0800</span></font><font
  size=3 face=宋体><span lang=EN-US style='font-size:12.0pt;
  font-family:SimSun'><o:p></o:p></span></font></p>
  </td>
 </tr>
 <tr>
  <td style='padding:0cm 0cm 0cm 0cm'>
  <div>
  <p class=MsoNormal><font size=2 color=black face="Times New Roman"><span
  lang=EN-US style='font-size:10.5pt'>An: <o:p></o:p></span></font></p>
  </div>
  <p class=MsoNormal><font size=2 color=black face="Times New Roman"><span
  lang=EN-US style='font-size:10.5pt'><a href="mailto:pam-list@redhat.com"><pam-list@redhat.com></a></span></font><font
  size=3 face=宋体><span lang=EN-US style='font-size:12.0pt;
  font-family:SimSun'><o:p></o:p></span></font></p>
  </td>
 </tr>
</table>

<p class=MsoNormal><font size=2 color=black face="Times New Roman"><span
lang=EN-US style='font-size:10.5pt'><o:p> </o:p></span></font></p>

<table class=MsoNormalTable border=0 cellspacing=0 cellpadding=0 width="100%"
 style='width:100.0%'>
 <tr>
  <td style='padding:0cm 0cm 0cm 0cm'>
  <div>
  <p class=MsoNormal><font size=2 color=black face="Times New Roman"><span
  lang=EN-US style='font-size:10.5pt'>An: <o:p></o:p></span></font></p>
  </div>
  <p class=MsoNormal><font size=2 color=black face="Times New Roman"><span
  lang=EN-US style='font-size:10.5pt'><a href="mailto:pam-list@redhat.com"><pam-list@redhat.com></a></span></font><font
  size=3 face=宋体><span lang=EN-US style='font-size:12.0pt;
  font-family:SimSun'><o:p></o:p></span></font></p>
  </td>
 </tr>
</table>

<p class=MsoNormal align=left style='text-align:left'><font size=3 color=black
face=宋体><span lang=EN-US style='font-size:12.0pt;font-family:
SimSun'><o:p> </o:p></span></font></p>

<p class=MsoNormal><font size=1 color=black face=Arial><span lang=EN-US
style='font-size:9.0pt;font-family:Arial'>My  /etc/pam.d/sshd on
sz-ssl-test00.sz01:<u1:p></u1:p></span></font><span lang=EN-US><o:p></o:p></span></p>

<p class=MsoNormal><font size=1 color=black face=Arial><span lang=EN-US
style='font-size:9.0pt;font-family:Arial'>#%PAM-1.0<u1:p></u1:p></span></font><span
lang=EN-US><o:p></o:p></span></p>

<p class=MsoNormal><font size=1 color=red face=Arial><span lang=EN-US
style='font-size:9.0pt;font-family:Arial;color:red'>auth      
required     pam_listfile.so onerr=succeed item=ruser
sense=allow file=/etc/test<u1:p></u1:p></span></font><span lang=EN-US><o:p></o:p></span></p>

<p class=MsoNormal><font size=1 color=black face=Arial><span lang=EN-US
style='font-size:9.0pt;font-family:Arial'>auth      
required     pam_stack.so service=system-auth<u1:p></u1:p></span></font><span
lang=EN-US><o:p></o:p></span></p>

<p class=MsoNormal><font size=1 color=black face=Arial><span lang=EN-US
style='font-size:9.0pt;font-family:Arial'>auth      
required     pam_nologin.so<u1:p></u1:p></span></font><span
lang=EN-US><o:p></o:p></span></p>

<p class=MsoNormal><font size=1 color=black face=Arial><span lang=EN-US
style='font-size:9.0pt;font-family:Arial'>account   
required     pam_stack.so service=system-auth<u1:p></u1:p></span></font><span
lang=EN-US><o:p></o:p></span></p>

<p class=MsoNormal><font size=1 color=black face=Arial><span lang=EN-US
style='font-size:9.0pt;font-family:Arial'>password  
required     pam_stack.so service=system-auth<u1:p></u1:p></span></font><span
lang=EN-US><o:p></o:p></span></p>

<p class=MsoNormal><font size=1 color=black face=Arial><span lang=EN-US
style='font-size:9.0pt;font-family:Arial'>session   
required     pam_stack.so service=system-auth<u1:p></u1:p></span></font><span
lang=EN-US><o:p></o:p></span></p>

<p class=MsoNormal><font size=1 color=black face=Arial><span lang=EN-US
style='font-size:9.0pt;font-family:Arial'>session   
required     pam_loginuid.so<u1:p></u1:p></span></font><span
lang=EN-US><o:p></o:p></span></p>

<p class=MsoNormal><font size=1 color=red face=Arial><span lang=EN-US
style='font-size:9.0pt;font-family:Arial;color:red'>there are only one user in
/etc/test:<u1:p></u1:p></span></font><span lang=EN-US><o:p></o:p></span></p>

<p class=MsoNormal><font size=1 color=red face=Arial><span lang=EN-US
style='font-size:9.0pt;font-family:Arial;color:red'>lrh<u1:p></u1:p></span></font><span
lang=EN-US><o:p></o:p></span></p>

<p class=MsoNormal><font size=1 color=red face=Arial><span lang=EN-US
style='font-size:9.0pt;font-family:Arial;color:red'><u1:p> </u1:p></span></font><span
lang=EN-US><o:p></o:p></span></p>

<p class=MsoNormal><font size=1 color=black face=Arial><span lang=EN-US
style='font-size:9.0pt;font-family:Arial'>when I login from remote using
commands as fllows:<u1:p></u1:p></span></font><span lang=EN-US><o:p></o:p></span></p>

<p class=MsoNormal><font size=1 color=black face=Arial><span lang=EN-US
style='font-size:9.0pt;font-family:Arial'>[lrh@test15 home]$ ssh <a
href="mailto:liuruihong@sz-ssl-test00.sz01">liuruihong@sz-ssl-test00.sz01</a><u1:p></u1:p></span></font><span
lang=EN-US><o:p></o:p></span></p>

<p class=MsoNormal><font size=1 color=black face=Arial><span lang=EN-US
style='font-size:9.0pt;font-family:Arial'><a
href="mailto:liuruihong@sz-ssl-test00.sz01">liuruihong@sz-ssl-test00.sz01</a>'s
password: <u1:p></u1:p></span></font><span lang=EN-US><o:p></o:p></span></p>

<p class=MsoNormal><font size=1 color=black face=Arial><span lang=EN-US
style='font-size:9.0pt;font-family:Arial'>Permission denied, please try again.<u1:p></u1:p></span></font><span
lang=EN-US><o:p></o:p></span></p>

<p class=MsoNormal><font size=1 color=black face=Arial><span lang=EN-US
style='font-size:9.0pt;font-family:Arial'><a
href="mailto:liuruihong@sz-ssl-test00.sz01">liuruihong@sz-ssl-test00.sz01</a>'s
password: <u1:p></u1:p></span></font><span lang=EN-US><o:p></o:p></span></p>

<p class=MsoNormal><font size=1 color=black face=Arial><span lang=EN-US
style='font-size:9.0pt;font-family:Arial'>[lrh@test15 home]$<u1:p></u1:p></span></font><span
lang=EN-US><o:p></o:p></span></p>

<p class=MsoNormal><font size=1 color=black face=Arial><span lang=EN-US
style='font-size:9.0pt;font-family:Arial'><u1:p> </u1:p></span></font><span
lang=EN-US><o:p></o:p></span></p>

<p class=MsoNormal><font size=1 color=red face=Arial><span lang=EN-US
style='font-size:9.0pt;font-family:Arial;color:red'>I cann`t login ,why? <u1:p></u1:p></span></font><span
lang=EN-US><o:p></o:p></span></p>

<p class=MsoNormal><font size=2 color=black face="Times New Roman"><span
lang=EN-US style='font-size:10.0pt'><u1:p> </u1:p></span></font><span
lang=EN-US><o:p></o:p></span></p>

<pre wrap=""><font size=3 color=black face=宋体><span lang=EN-US
style='font-size:12.0pt'><o:p> </o:p></span></font></pre><pre
style='text-align:center'><font size=3 color=black face=宋体><span
lang=EN-US style='font-size:12.0pt'>

<hr size=4 width="90%" align=center>

</span></font></pre><pre><font size=3 color=black face=宋体><span
lang=EN-US style='font-size:12.0pt'><o:p> </o:p></span></font></pre><pre><font
size=3 color=black face=宋体><span lang=EN-US style='font-size:
12.0pt'>_______________________________________________<o:p></o:p></span></font></pre><pre><font
size=3 color=black face=宋体><span lang=EN-US style='font-size:
12.0pt'>Pam-list mailing list<o:p></o:p></span></font></pre><pre><font size=3
color=black face=宋体><span lang=EN-US style='font-size:12.0pt'><a
href="mailto:Pam-list@redhat.com">Pam-list@redhat.com</a><o:p></o:p></span></font></pre><pre><font
size=3 color=black face=宋体><span lang=EN-US style='font-size:
12.0pt'><a href="https://www.redhat.com/mailman/listinfo/pam-list">https://www.redhat.com/mailman/listinfo/pam-list</a><o:p></o:p></span></font></pre>

<p class=MsoNormal align=left style='text-align:left'><font size=3 color=black
face=宋体><span lang=EN-US style='font-size:12.0pt;font-family:
SimSun'>Liuruihong,<br>
<br>
please note: 'ruser' should be set to the user's name on the remote host, that<br>
issues the authentication sequence, in your case obviously 'lrh' at host
'test15'. <br>
But this parameter is optional, in many cases it is left unset.<br>
<br>
IMHO what you should test via pam_listfile is 'user', not 'ruser'.<br>
The 'user' token is the name you whish to authenticate against,<br>
in other words: 'user' is the parameter which requires a matching password.<br>
<br>
Additionally, please note that after all 'user' may not be the same as the name<br>
of the account you're finally logged in to, which is e.g. in U*X the passwd
identity.<br>
<br>
Regards<o:p></o:p></span></font></p>

<div>

<p class=MsoNormal align=left style='text-align:left'><font size=3 color=black
face=宋体><span lang=EN-US style='font-size:12.0pt;font-family:
SimSun'>-- <br>
Dr.-Ing. Andreas Schindler<br>
<br>
PDV Systeme AZ1 GmbH<br>
Frankfurter Str. 141<br>
63303 Dreieich<br>
<br>
Telefon 06103-57187-21<br>
Telefax 06103-373245<br>
<br>
<a href="mailto:schindler@az1.de">schindler@az1.de</a><br>
<a href="http://www.az1.de">www.az1.de</a><br>
<br>
PDV Systeme AZ1 GmbH, Brandeniusstr. 3, 44265 <st1:City w:st="on"><st1:place
 w:st="on">Dortmund</st1:place></st1:City><br>
</span></font><font size=2 face=宋体><span lang=EN-US
style='font-size:10.0pt;font-family:SimSun'>HRB 11089 Amtsgericht Dortmund,
Geschäftsführer : Klaus-Jürgen Koke, Joachim Carle</span></font><font size=3
face=宋体><span lang=EN-US style='font-size:12.0pt;font-family:
SimSun'> <o:p></o:p></span></font></p>

</div>

</div>

</body>

</html>