- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - Linux
- >
- Control ftp login in openldap
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Discussions
Discussions
Discussions
Forums
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-18-2006 03:49 PM
тАО10-18-2006 03:49 PM
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-19-2006 01:09 AM
тАО10-19-2006 01:09 AM
SolutionProbably, you will have to restrict access locally on each server through the user_list file.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-19-2006 01:16 AM
тАО10-19-2006 01:16 AM
Re: Control ftp login in openldap
To fully answer, the version of rh would be needed.
RH AS 2.1 and earlier based releases used wu-ftpd which has a configuration file called ftpusers which could limit ftp access to a list of users or deny certain users.
vsftpd controls this function via a well documented feature in /etc/vsfptd/vsftpd.conf concerning user listes..
vsftpd is the standard ftp server in Linux Es 3.0 and above.
Note that no matter how you package it, ftp transmits authentication in clear text and is therefore a large security risk. root user should never be graned ftp access.
SEP
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-19-2006 01:09 PM
тАО10-19-2006 01:09 PM
Re: Control ftp login in openldap
the ftp daemon is started , but I found that if I update the user.list , it will use the password in /etc/passwd not the password in openldap , can advise what can i do ? thx
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-20-2006 01:06 AM
тАО10-20-2006 01:06 AM
Re: Control ftp login in openldap
For example:
/etc/nsswitch.conf
passwd: files ldap
group: files ldap
shadow: files ldap
hosts: files ldap dns
If you use vsftpd, it should be pam enabled, so ldap user information have to be used. Check that /etc/pam.d/vsftpd is correctly configured, normally pointing to system-auth module, and system-auth using the ldap libraries.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-26-2006 01:09 PM
тАО10-26-2006 01:09 PM
Re: Control ftp login in openldap
my "/etc/pam.d/vsftpd" is as below
auth required pam_listfile.so item=user sense=deny file=/etc/vsftpd.ft
pusers onerr=succeed
auth required pam_stack.so service=system-auth
auth required pam_shells.so
account required pam_stack.so service=system-auth
session required pam_stack.so service=system-auth
I can use ftp via vsftpd , but however , the auth password is /etc/shadow not the password keep in openldap server , if I want to use the password in openldap server , what can I do ? thx