Red Hat axp-list: Linux on Alpha (1995-2022)
 help / color / mirror / Atom feed
* UDB RedHat FTP problems revisited
       [not found] <3.0.3.32.19970910085914.00a0e9a0@atlas>
@ 1997-10-08 14:42 ` Rob Zook
  1997-10-08 15:05   ` Rick Windham
  0 siblings, 1 reply; 6+ messages in thread
From: Rob Zook @ 1997-10-08 14:42 UTC (permalink / raw)


Hi all,

Well, I found the problem preventing me from being able to ftp
to my UDB. <Drum roll please> - it was a couple of people suggested PAM.
In the /etc/pam.d/ftp file I played with some of the lines and found
only the first line needed to be removed for it to work:

#%PAM-1.0
#auth       required    /lib/security/pam_listfile.so item=user sense=deny
file=/etc/ftpusers onerr=succeed
auth       required     /lib/security/pam_pwdb.so shadow nullok
auth       required     /lib/security/pam_shells.so
account    required     /lib/security/pam_pwdb.so
session    required     /lib/security/pam_pwdb.so

So now I'm wondering what options on the first auth line might be causing 
pam to deny all ftp users access?

--------------------------------------------------------
Some writers have so confounded society with government, as to
leave little or no distinction between them; whereas they are not
only different, but have different origins ... Society is in
every state a blessing, but Government, even in its best state,
is but a necessary evil; in its worst state, an intolerable one.
-- Thomas Paine, _Common Sense_

--
To unsubscribe: send e-mail to axp-list-request@redhat.com with
'unsubscribe' as the subject.  Do not send it to axp-list@redhat.com

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: UDB RedHat FTP problems revisited
  1997-10-08 14:42 ` UDB RedHat FTP problems revisited Rob Zook
@ 1997-10-08 15:05   ` Rick Windham
  0 siblings, 0 replies; 6+ messages in thread
From: Rick Windham @ 1997-10-08 15:05 UTC (permalink / raw)


On Wed, 8 Oct 1997, Rob Zook wrote:

> #auth       required    /lib/security/pam_listfile.so item=user sense=deny
> file=/etc/ftpusers onerr=succeed

Just from reading it (and the PAM docs) it seems to be trying to deny
access to those users listed in the /etc/ftpusers file (a traditional
concept).  But I can't tell why it's disallowing everyone.  What are the
contents of your /etc/ftpusers file?

-Rick

+-------------------------------------------+
| "No matter where you go...there you are." |
|               -Buckaroo Banzai            |
+-------------------------------------------+

--
To unsubscribe: send e-mail to axp-list-request@redhat.com with
'unsubscribe' as the subject.  Do not send it to axp-list@redhat.com

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: UDB RedHat FTP problems revisited
       [not found] <Pine.LNX.3.95.971008100230.12823A-100000@chomper.chapwin.l>
@ 1997-10-08 16:36 ` Rob Zook
  0 siblings, 0 replies; 6+ messages in thread
From: Rob Zook @ 1997-10-08 16:36 UTC (permalink / raw)


At 10:05 AM 10/8/97 -0500, you wrote:
>
>On Wed, 8 Oct 1997, Rob Zook wrote:
>
>> #auth       required    /lib/security/pam_listfile.so item=user sense=deny
>> file=/etc/ftpusers onerr=succeed
>
>Just from reading it (and the PAM docs) it seems to be trying to deny
>access to those users listed in the /etc/ftpusers file (a traditional
>concept).  

I can kind of see that from the "sense=deny file=/etc/ftpusers" but what
does the item=users and onerr=succeed options mean?

BTW which PAM docs? I don't have a pam man page on my system. When I
looked in /usr/doc/pam-0.57-4, I see the following.
[root@babylon5 pam-0.57-4]# ls
Copyright    html         ps           rfc86.0.txt  txts

In the html, ps, and txt subdirectories exists a totally useless
README file (or index.html in the html directory). I started looking
thru the RFC, but I need something which describes the specific
setup Redhat did to pam.

>But I can't tell why it's disallowing everyone.  What are the
>contents of your /etc/ftpusers file?

root
bin
daemon
adm
lp
sync
shutdown
halt
mail
news
uucp
operator
games
nobody
~
~
~
~
~
~
~
~
~
"ftpusers" 14 lines, 79 characters
Which should leave users "rzook" and "guest" free to ftp in.

Thanks,

Rob Z.
--------------------------------------------------------
Some writers have so confounded society with government, as to
leave little or no distinction between them; whereas they are not
only different, but have different origins ... Society is in
every state a blessing, but Government, even in its best state,
is but a necessary evil; in its worst state, an intolerable one.
-- Thomas Paine, _Common Sense_

--
To unsubscribe: send e-mail to axp-list-request@redhat.com with
'unsubscribe' as the subject.  Do not send it to axp-list@redhat.com

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: UDB RedHat FTP problems revisited
       [not found] <3.0.3.32.19971008113611.00924e70@atlas>
@ 1997-10-08 18:27 ` Rick Windham
  0 siblings, 0 replies; 6+ messages in thread
From: Rick Windham @ 1997-10-08 18:27 UTC (permalink / raw)


On Wed, 8 Oct 1997, Rob Zook wrote:

> I can kind of see that from the "sense=deny file=/etc/ftpusers" but what
> does the item=users and onerr=succeed options mean?

Honestly I can't remember where I found the docs but they are on my system
or a hyper link on the docs.

The item must be equated with the user trying to log into ftp.  The
onerr=succeed simply means that if the user name is not in the file then
they can log in.

-Rick

+-------------------------------------------+
| "No matter where you go...there you are." |
|               -Buckaroo Banzai            |
+-------------------------------------------+

--
To unsubscribe: send e-mail to axp-list-request@redhat.com with
'unsubscribe' as the subject.  Do not send it to axp-list@redhat.com

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: UDB RedHat FTP problems revisited
       [not found] <Pine.LNX.3.95.971008132231.29341B-100000@chomper.chapwin.lan>
@ 1997-10-08 23:24 ` Michael Tibor
  0 siblings, 0 replies; 6+ messages in thread
From: Michael Tibor @ 1997-10-08 23:24 UTC (permalink / raw)


On Wed, 8 Oct 1997, Rick Windham wrote:

> 
> On Wed, 8 Oct 1997, Rob Zook wrote:
> 
> > I can kind of see that from the "sense=deny file=/etc/ftpusers" but what
> > does the item=users and onerr=succeed options mean?
> 
> Honestly I can't remember where I found the docs but they are on my system
> or a hyper link on the docs.
> 
> The item must be equated with the user trying to log into ftp.  The
> onerr=succeed simply means that if the user name is not in the file then
> they can log in.

Redhat has some docs if you follow the 'documentation' link right off
their top page.  Here's what I found there regarding PAM:

http://www.redhat.com/support/docs/rhl/RHL-4.2-Users-Guide-HTML/manual/doc073.html#s10.4

Mike

-- 
Mike Tibor        University of Alaska Anchorage    (907) 786-1001 voice
LAN Technician    Consortium Library                (907) 786-6050 fax
http://www.lib.uaa.alaska.edu/~tibor/    mailto:tibor@lib.uaa.alaska.edu
Finger tibor@asimov.lib.uaa.alaska.edu for PGP public key

--
To unsubscribe: send e-mail to axp-list-request@redhat.com with
'unsubscribe' as the subject.  Do not send it to axp-list@redhat.com

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: UDB RedHat FTP problems revisited
       [not found] <Pine.LNX.3.96.971008152120.117C-100000@asimov.lib.uaa.alas>
@ 1997-10-09 13:48 ` Rob Zook
  0 siblings, 0 replies; 6+ messages in thread
From: Rob Zook @ 1997-10-09 13:48 UTC (permalink / raw)


At 03:24 PM 10/8/97 -0800, you wrote:
>On Wed, 8 Oct 1997, Rick Windham wrote:
>
>> 
>> On Wed, 8 Oct 1997, Rob Zook wrote:
>> 
>> > I can kind of see that from the "sense=deny file=/etc/ftpusers" but what
>> > does the item=users and onerr=succeed options mean?
>> 
>> Honestly I can't remember where I found the docs but they are on my system
>> or a hyper link on the docs.
>> 
>> The item must be equated with the user trying to log into ftp.  The
>> onerr=succeed simply means that if the user name is not in the file then
>> they can log in.
>
>Redhat has some docs if you follow the 'documentation' link right off
>their top page.  Here's what I found there regarding PAM:
>
>http://www.redhat.com/support/docs/rhl/RHL-4.2-Users-Guide-HTML/manual/doc0
73.html#s10.4

Thanks Mike, 

That link helped me find the docs which did not appear in my
/usr/doc directory. I found the full html manuals in 
http://www.redhat.com/linux-info/pam/docs/

Rob Z.
--------------------------------------------------------
Some writers have so confounded society with government, as to
leave little or no distinction between them; whereas they are not
only different, but have different origins ... Society is in
every state a blessing, but Government, even in its best state,
is but a necessary evil; in its worst state, an intolerable one.
-- Thomas Paine, _Common Sense_

--
To unsubscribe: send e-mail to axp-list-request@redhat.com with
'unsubscribe' as the subject.  Do not send it to axp-list@redhat.com

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~1997-10-09 13:48 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <3.0.3.32.19970910085914.00a0e9a0@atlas>
1997-10-08 14:42 ` UDB RedHat FTP problems revisited Rob Zook
1997-10-08 15:05   ` Rick Windham
     [not found] <Pine.LNX.3.95.971008100230.12823A-100000@chomper.chapwin.l>
1997-10-08 16:36 ` Rob Zook
     [not found] <3.0.3.32.19971008113611.00924e70@atlas>
1997-10-08 18:27 ` Rick Windham
     [not found] <Pine.LNX.3.95.971008132231.29341B-100000@chomper.chapwin.lan>
1997-10-08 23:24 ` Michael Tibor
     [not found] <Pine.LNX.3.96.971008152120.117C-100000@asimov.lib.uaa.alas>
1997-10-09 13:48 ` Rob Zook

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox