Oops, yes, <span class="Apple-style-span" style="border-collapse: collapse; font-family: arial, sans-serif; font-size: 13px; ">/etc/pam.d/vsftpd.</span><br><br><div class="gmail_quote">On Tue, Mar 22, 2011 at 1:55 PM, Gilles Detillieux <span dir="ltr">&lt;<a href="mailto:grdetil@scrc.umanitoba.ca">grdetil@scrc.umanitoba.ca</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">Yeah, something sounds out of whack here.  pam_shells should work<br>
correctly when your login shell IS in /etc/shells, and fail when it&#39;s<br>
not.  Is there something in /etc/shells that&#39;s throwing it off, like a<br>
funny character or something?  Is /etc/shells world-readable?  (It is on<br>
my RHEL 5.5 clone (SL 5.5).)  Maybe try putting the pam_shells.so line<br>
right after the pam_listfile.so line, as RHEL does, before the includes.<br>
<br>
BTW, you did mean /etc/pam.d/vsftpd, not /etc/vsftpd.conf, where you<br>
removed the pam_shells.so line, right?<br>
<div class="im"><br>
On 22/03/2011 1:16 PM, Sean Walberg wrote:<br>
&gt;  &gt;From shells(5)<br>
&gt; NAME<br>
&gt;         shells - pathnames of valid login shells<br>
&gt;<br>
&gt; DESCRIPTION<br>
&gt;         /etc/shells  is  a text file which contains the full pathnames<br>
&gt; of valid login shells.  This file is consulted by chsh(1) and available<br>
&gt; to be queried<br>
&gt;         by other programs.<br>
&gt;<br>
&gt;         Be aware that there are programs which consult this file to find<br>
&gt; out if a user is a normal user. E.g.: ftp daemons traditionally disallow<br>
&gt; access  to<br>
&gt;         users with shells not included in this file.<br>
&gt;<br>
&gt;<br>
&gt; On Tue, Mar 22, 2011 at 1:14 PM, Kevin McGregor<br>
</div><div class="im">&gt; &lt;<a href="mailto:kevin.a.mcgregor@gmail.com">kevin.a.mcgregor@gmail.com</a> &lt;mailto:<a href="mailto:kevin.a.mcgregor@gmail.com">kevin.a.mcgregor@gmail.com</a>&gt;&gt; wrote:<br>
&gt;<br>
&gt;     I already had put in<br>
&gt;     local_enable=YES<br>
&gt;     write_enable=YES<br>
&gt;<br>
&gt;     Then on a whim I took out<br>
&gt;     auth    required        pam_shells.so<br>
&gt;<br>
&gt;     from /etc/vsftpd.conf, and then it started working. I guess it<br>
&gt;     didn&#39;t like that /bin/bash was set as my shell in /etc/passwd and<br>
&gt;     also in /etc/shells. Or something.<br>
<br>
</div><div class="im">--<br>
Gilles R. Detillieux              E-mail: &lt;<a href="mailto:grdetil@scrc.umanitoba.ca">grdetil@scrc.umanitoba.ca</a>&gt;<br>
Spinal Cord Research Centre       WWW:    <a href="http://www.scrc.umanitoba.ca/" target="_blank">http://www.scrc.umanitoba.ca/</a><br>
Dept. Physiology, U. of Manitoba  Winnipeg, MB  R3E 0J9  (Canada)<br>
</div><div><div></div><div class="h5">_______________________________________________<br>
Roundtable mailing list<br>
<a href="mailto:Roundtable@muug.mb.ca">Roundtable@muug.mb.ca</a><br>
<a href="http://www.muug.mb.ca/mailman/listinfo/roundtable" target="_blank">http://www.muug.mb.ca/mailman/listinfo/roundtable</a><br>
</div></div></blockquote></div><br>