- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: Login failed message while starting FTP
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
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
тАО09-09-2009 04:07 AM
тАО09-09-2009 04:07 AM
Re: Login failed message while starting FTP
ksh
sh
bash
csh
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-09-2009 04:08 AM
тАО09-09-2009 04:08 AM
Re: Login failed message while starting FTP
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-09-2009 04:12 AM
тАО09-09-2009 04:12 AM
Re: Login failed message while starting FTP
http://docs.hp.com/en/B3921-60631/ftpd.1M.html
...
ftpd authenticates users according to three rules:
- The user name must be in the password data base, /etc/passwd, and not have a null password. The client must provide the correct password for the user before any file operations can be performed.
- The user name must not appear in the file /etc/ftpd/ftpusers (see ftpusers(4)).
- The user must have a standard shell returned by getusershell().
Hope this helps!
Regards
Torsten.
__________________________________________________
There are only 10 types of people in the world -
those who understand binary, and those who don't.
__________________________________________________
No support by private messages. Please ask the forum!
If you feel this was helpful please click the KUDOS! thumb below!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-09-2009 04:16 AM
тАО09-09-2009 04:16 AM
Re: Login failed message while starting FTP
ftp stream tcp nowait root /usr/lbin/ftpd ftpd -a -l -d
is it OK ? check it out
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-09-2009 04:30 AM
тАО09-09-2009 04:30 AM
Re: Login failed message while starting FTP
Did you already check if you have sftpd installed?
Since ftp is really unsecure, you should consider to use sftp anyway.
Hope this helps!
Regards
Torsten.
__________________________________________________
There are only 10 types of people in the world -
those who understand binary, and those who don't.
__________________________________________________
No support by private messages. Please ask the forum!
If you feel this was helpful please click the KUDOS! thumb below!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-09-2009 04:33 AM
тАО09-09-2009 04:33 AM
Re: Login failed message while starting FTP
ftp stream tcp nowait root /usr/lbin/ftpd ftpd -l
I changed it to;
ftp stream tcp nowait root /usr/lbin/ftpd ftpd -a -l -d
and then restarted the inetd service with inetd -c.
There is no "ftpusers" file in /etc/ftpd/ftpusers.
checked again still not working.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-09-2009 04:35 AM
тАО09-09-2009 04:35 AM
SolutionThe shell field of /etc/passwd must match *exactly* with one of the lines in /etc/shells, otherwise ftpd will not allow access.
> root@hrdbdr01:/etc/ftpd# more /etc/shells
ksh
sh
bash
csh
Your /etc/shells does not have full path names in it. This may be the problem. Shells should be specified with a full path, both in /etc/passwd and in /etc/shells.
If /etc/shells is not readable or does not exist, the system uses this standard list:
/sbin/sh
/usr/bin/sh
/usr/bin/rsh
/usr/bin/ksh
/usr/bin/rksh
/usr/bin/csh
/usr/bin/keysh
This list is documented in getusershell(3C) man page (accessible with "man getusershell" command on your HP-UX system).
My suggestion: copy this standard list of shells to /etc/shells and add the full pathname of your bash shell to it. Then make sure your /etc/passwd uses full pathnames to specify the shells for each user.
MK
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-10-2009 03:46 AM
тАО09-10-2009 03:46 AM
Re: Login failed message while starting FTP
You report :
the /etc/ftpd/ftpaccess contents are
root@hrdbdr01:/etc/ftpd# more ftpaccess
root
rayees
I am afraid that this content doesn't match the needs for this file ! This content is totally wrong.
You need to make a copy of the sample file and reading the man page (man ftpaccess)
The sample file is located at the following path : /usr/newconfig/etc/ftpd/examples/ftpaccess
Regards
Roland
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-10-2009 04:10 AM
тАО09-10-2009 04:10 AM
Re: Login failed message while starting FTP
/usr/bin/ksh
/sbin/sh
bash
/usr/bin/csh
restarted the inetd with inetd -c
Still the login failed message.
I transfered the files with scp as I cannot wait anymore to fix the FTP issue.
Thanks everyone for precious support.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-10-2009 05:06 AM
тАО09-10-2009 05:06 AM
Re: Login failed message while starting FTP
I understand the urgency of the solution.
But if your are interresting to use ftp with ftpaccess file mecanism you are not far awy from the solution. I used it to give restricted access to users in this way that users cannot walk everywhere on my server (ftponly). They are connected in specific directory they see as root (/). ftpaccess is the key to handle the access rights.
Another thing to troubbleshoot the problem. Disable ftpaccess use in /etc/inetd.conf. Take away the -a option
restart inetd with inetd -c command
Try to connect !
If you can do it, you have a configuration problem with ftpaccess mecanism ....
Regards,
Roland
- « Previous
-
- 1
- 2
- Next »