- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: FTP password via ldap
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
Forums
Discussions
Discussions
Discussions
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
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
04-18-2007 09:38 PM
04-18-2007 09:38 PM
FTP password via ldap
is it possible to get on an hpux 11.x system only the password information for an ftp-user from AD (ldap/pam)? I am running ldap and the ftp is working find for all ldap-Users listed in my AD and all users in the local /etc/passwd by trying some changes in /etc/pam.conf. For security i want only to allow users listet in /etc/passwd, but the password comes from the password-Server (AD). What is the correct entry in pam.conf for this, even if it is possible.
Thanks for help
reagrds
Romana
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-19-2007 01:50 AM
04-19-2007 01:50 AM
Re: FTP password via ldap
You can achieve this by customizing the /etc/ftpd/ftpaccess file.
man ftpaccess for more details.
Sundar.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-19-2007 07:07 PM
04-19-2007 07:07 PM
Re: FTP password via ldap
i use ftpaccess and i searched the man page again, but i can't find any hint how to implement my "special wish". Could you please give me an advice?
Romana
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-21-2007 05:57 AM
05-21-2007 05:57 AM
Re: FTP password via ldap
# grep ^ftp pam.conf
ftp auth required libpam_unix.1
ftp account required libpam_unix.1
But continue to use Pam Kerberos for login/ssh:
# grep ^ssh pam.conf
sshd auth sufficient libpam_krb5.1
sshd auth required libpam_unix.1
sshd account sufficient libpam_krb5.1
sshd account required libpam_unix.1
sshd session sufficient libpam_krb5.1
sshd session required libpam_unix.1
sshd password sufficient libpam_krb5.1
sshd password required libpam_unix.1
While this will prevent AD users from FTP'ing into this system, they will be able to login (telnet/rlogin/ssh) and then FTP out of the system. So unless you have a way to restrict outbound FTP connections you really haven't done much to increase the security of the system, of course disabling FTP/Telnet/rlogin all together would be my recomendation :)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-22-2007 09:22 PM
05-22-2007 09:22 PM
Re: FTP password via ldap
actually i did it this way, but it is not, what i really want. So, all my incoming ftp-usere have to be listed in /etc/passwd. Several ldap-Users also have to ftp onto my HP-UX box, but i did not know their password to create an full entry in /etc/passwd. Only the password should be verified via AD/ldap and the rest(ftp HOME-Path)from /etc/passwd.
But i don't know how to do this.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-23-2007 02:30 AM
05-23-2007 02:30 AM
Re: FTP password via ldap
If this is the case then don't use ldap-ux at all (remove the ldap entrys from /etc/nsswitch.conf). Define all of your users in the local /etc/passwd file with no password. Then configure PAM Kerberos for authentication. Of course the user name in /etc/passwd must match the user name in AD.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-23-2007 02:31 AM
05-23-2007 02:31 AM