PAM_FTP - Online Linux Manual PageSection : 8
Updated : 09/03/2021
Source : Linux-PAM Manual
Note : Linux−PAM Manual

NAMEpam_ftp − PAM module for anonymous access module

SYNOPSISpam_ftp​.so [debug] [ignore] [users=XXX,YYY,...]

DESCRIPTIONpam_ftp is a PAM module which provides a pluggable anonymous ftp mode of access​. This module intercepts the user's name and password​. If the name is ftp or anonymous, the user's password is broken up at the @ delimiter into a PAM_RUSER and a PAM_RHOST part; these pam−items being set accordingly​. The username (PAM_USER) is set to ftp​. In this case the module succeeds​. Alternatively, the module sets the PAM_AUTHTOK item with the entered password and fails​. This module is not safe and easily spoofable​.

OPTIONSdebug Print debug information​. ignore Pay no attention to the email address of the user (if supplied)​. ftp=XXX,YYY,​.​.​. Instead of ftp or anonymous, provide anonymous login to the comma separated list of users: XXX,YYY,​.​.​.​. Should the applicant enter one of these usernames the returned username is set to the first in the list: XXX​.

MODULE TYPES PROVIDEDOnly the auth module type is provided​.

RETURN VALUESPAM_SUCCESS The authentication was successful​. PAM_USER_UNKNOWN User not known​.

EXAMPLESAdd the following line to /etc/pam​.d/ftpd to handle ftp style anonymous login: # # ftpd; add ftp−specifics​. These lines enable anonymous ftp over # standard UN*X access (the listfile entry blocks access to # users listed in /etc/ftpusers) # auth sufficient pam_ftp​.so auth required pam_unix​.so use_first_pass auth required pam_listfile​.so \ onerr=succeed item=user sense=deny file=/etc/ftpusers

SEE ALSOpam.conf(5), pam.d(5), pam(8)

AUTHORpam_ftp was written by Andrew G​. Morgan <morgan@kernel​.org>​.
0
Johanes Gumabo
Data Size   :   9,694 byte
man-pam_ftp.8Build   :   2024-12-29, 07:25   :  
Visitor Screen   :   x
Visitor Counter ( page / site )   :   5 / 260,037
Visitor ID   :     :  
Visitor IP   :   18.119.142.113   :  
Visitor Provider   :   AMAZON-02   :  
Provider Position ( lat x lon )   :   39.962500 x -83.006100   :   x
Provider Accuracy Radius ( km )   :   1000   :  
Provider City   :   Columbus   :  
Provider Province   :   Ohio ,   :   ,
Provider Country   :   United States   :  
Provider Continent   :   North America   :  
Visitor Recorder   :   Version   :  
Visitor Recorder   :   Library   :  
Online Linux Manual Page   :   Version   :   Online Linux Manual Page - Fedora.40 - march=x86-64 - mtune=generic - 24.12.29
Online Linux Manual Page   :   Library   :   lib_c - 24.10.03 - march=x86-64 - mtune=generic - Fedora.40
Online Linux Manual Page   :   Library   :   lib_m - 24.10.03 - march=x86-64 - mtune=generic - Fedora.40
Data Base   :   Version   :   Online Linux Manual Page Database - 24.04.13 - march=x86-64 - mtune=generic - fedora-38
Data Base   :   Library   :   lib_c - 23.02.07 - march=x86-64 - mtune=generic - fedora.36

Very long time ago, I have the best tutor, Wenzel Svojanovsky . If someone knows the email address of Wenzel Svojanovsky , please send an email to johanes_gumabo@yahoo.co.id .
If error, please print screen and send to johanes_gumabo@yahoo.co.id
Under development. Support me via PayPal.