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"><<a href="mailto:grdetil@scrc.umanitoba.ca">grdetil@scrc.umanitoba.ca</a>></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's<br>
not. Is there something in /etc/shells that'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>
> >From shells(5)<br>
> NAME<br>
> shells - pathnames of valid login shells<br>
><br>
> DESCRIPTION<br>
> /etc/shells is a text file which contains the full pathnames<br>
> of valid login shells. This file is consulted by chsh(1) and available<br>
> to be queried<br>
> by other programs.<br>
><br>
> Be aware that there are programs which consult this file to find<br>
> out if a user is a normal user. E.g.: ftp daemons traditionally disallow<br>
> access to<br>
> users with shells not included in this file.<br>
><br>
><br>
> On Tue, Mar 22, 2011 at 1:14 PM, Kevin McGregor<br>
</div><div class="im">> <<a href="mailto:kevin.a.mcgregor@gmail.com">kevin.a.mcgregor@gmail.com</a> <mailto:<a href="mailto:kevin.a.mcgregor@gmail.com">kevin.a.mcgregor@gmail.com</a>>> wrote:<br>
><br>
> I already had put in<br>
> local_enable=YES<br>
> write_enable=YES<br>
><br>
> Then on a whim I took out<br>
> auth required pam_shells.so<br>
><br>
> from /etc/vsftpd.conf, and then it started working. I guess it<br>
> didn't like that /bin/bash was set as my shell in /etc/passwd and<br>
> also in /etc/shells. Or something.<br>
<br>
</div><div class="im">--<br>
Gilles R. Detillieux E-mail: <<a href="mailto:grdetil@scrc.umanitoba.ca">grdetil@scrc.umanitoba.ca</a>><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>