GreenLake Administration
- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: FTP Processes /etc/passwd Command
Operating System - HP-UX
1847411
Members
2583
Online
110264
Solutions
Forums
Categories
Company
Local Language
back
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Forums
Discussions
back
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
Blogs
Information
Community
Resources
Community Language
Language
Forums
Blogs
Go to solution
Topic Options
- 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 08:32 AM
10-18-2006 08:32 AM
On one 11.11 machine I have, if I put /usr/bin/false in there, not only does login not work but either does FTP.
Why would ftp process that field? On other 11.11 servers I see the desired behaviour, which is no login but ftp allowed.
Why would ftp process that field? On other 11.11 servers I see the desired behaviour, which is no login but ftp allowed.
Solved! Go to Solution.
2 REPLIES 2
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-18-2006 08:49 AM
10-18-2006 08:49 AM
Solution
This is correct behavior. The ftpd daemon 'validates' a login by checking the userID in /etc/passwd and seeing if the shell for the user is 'standard' or listed in the file: /etc/shells. The man page for shells covers this file's format. The file is normally not present--you have to create it if you want non-standard shells. The starting point for /etc/shells is found in the man page for getusershell:
/sbin/sh
/usr/bin/sh
/usr/bin/rsh
/usr/bin/ksh
/usr/bin/rksh
/usr/bin/csh
/usr/bin/keysh
Just add /usr/bin/false to the list and not ftp login will work.
Bill Hassell, sysadmin
/sbin/sh
/usr/bin/sh
/usr/bin/rsh
/usr/bin/ksh
/usr/bin/rksh
/usr/bin/csh
/usr/bin/keysh
Just add /usr/bin/false to the list and not ftp login will work.
Bill Hassell, sysadmin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-19-2006 12:27 AM
10-19-2006 12:27 AM
Re: FTP Processes /etc/passwd Command
Thanks - I got talking with another admin last night who told me the same thing. I'm a little rusty after a year of not really doing pure admin work, and though when I build two servers recently and remembered /etc/shells, I completely skipped on it here. Thanks!
Craig
Craig
The opinions expressed above are the personal opinions of the authors, not of Hewlett Packard Enterprise. By using this site, you accept the Terms of Use and Rules of Participation.
Company
Events and news
Customer resources
© Copyright 2026 Hewlett Packard Enterprise Development LP