Warning: Function ereg() is deprecated in ..../includes/class_postbit.php(345) : eval()'d code on line 4

Warning: Function split() is deprecated in ..../includes/class_postbit.php(345) : eval()'d code on line 19

Warning: Function ereg() is deprecated in ..../includes/class_postbit.php(345) : eval()'d code on line 4

Warning: Function split() is deprecated in ..../includes/class_postbit.php(345) : eval()'d code on line 19
ftpusers for Wuftpd
Results 1 to 2 of 2

Thread: ftpusers for Wuftpd

  1. #1
    Member honey bee's Avatar
    Join Date
    Feb 2006
    Location
    Pakistan
    Posts
    146

    Question ftpusers for Wuftpd

    hello,

    I want to define my own file instead of /etc/ftpusers in wuftpd to disable the users.Is there option for it in wuftpd?

  2. #2
    Member honey bee's Avatar
    Join Date
    Feb 2006
    Location
    Pakistan
    Posts
    146

    Lightbulb

    We can define our own file in /etc/pam.d/ftp file.Replace the highlighted path with your file path:

    #%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

Similar Threads

  1. code to track the state change of wuftpd
    By selvaraniantony in forum Linux - Software, Applications & Programming
    Replies: 0
    Last Post: 04-14-2009, 08:57 AM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •