- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- error related to 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
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
05-23-2003 09:25 PM
05-23-2003 09:25 PM
error related to FTP
I am getting error" FTP LOGIN REFUSED (bad shell)" message in syslog while doing FTP.Can somebody help me in this matter??
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-23-2003 10:20 PM
05-23-2003 10:20 PM
Re: error related to FTP
/etc/shells
/usr/bin/ksh
/usr/bin/csh
/usr/bin/sh
Any shell which is not present in the file and the user has that shell as his login shell the ftp gives a "BAD SHELL" message.Add his login shell to /etc/shells file
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-23-2003 10:22 PM
05-23-2003 10:22 PM
Re: error related to FTP
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-23-2003 10:22 PM
05-23-2003 10:22 PM
Re: error related to FTP
This may help:
http://newfdawg.com/SHP-FTP-ftphosts.htm
While denial by the ftpusers file will cause the following message to be logged to syslog:
Feb 15 10:17:20 ctg700 ftpd[13478]: FTP LOGIN REFUSED (bad shell) FROM ctg500g [192.168.1.114], root
To see the above type of logging in the syslog file be sure to use the ???-l??? (el) option in the ftpd line of the /etc/inetd.conf file. Using the ftphosts file does not require the use of the ftpaccess file.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-24-2003 01:35 AM
05-24-2003 01:35 AM
Re: error related to FTP
Thanks for your reply i tried out whatever you people said but the problem remains the same,1 thing i saw is that i m able to login with another user which is mentioned in /etc/ftpd/ftpaccess but i tried adding root also in that but still the same problem,can i get some more tips??.
Regards,
Rajesh G.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-24-2003 01:42 AM
05-24-2003 01:42 AM
Re: error related to FTP
What are the contents of /etc/shells?
/etc/ftpd/ftpusers is
a file that is used to restrict access.
Also check the file for any username or shell to restrict access.
Thanks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-24-2003 02:00 AM
05-24-2003 02:00 AM
Re: error related to FTP
http://forums.itrc.hp.com/cm/QuestionAnswer/1,,0x382663f96280d711abdc0090277a778c,00.html
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-24-2003 03:13 AM
05-24-2003 03:13 AM
Re: error related to FTP
scrutinise the following files .
1] /etc/inetd.conf - ftp entries
2] /etc/ftpd/ftpaccess
3] /etc/ftpd/ftpusers - the user hould not listed in this file.
what is the shell of the user.Is it listed in the /etc/shells.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-24-2003 03:16 AM
05-24-2003 03:16 AM
Re: error related to FTP
the default root shell is sh there is no entry in /etc/ftpd/ftpusers.How do i find out the file which restrict any user or shell.
Regards,
Rajesh G.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-24-2003 03:21 AM
05-24-2003 03:21 AM
Re: error related to FTP
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-24-2003 03:24 AM
05-24-2003 03:24 AM
Re: error related to FTP
/sbin/sh
is there in /etc/shells.
Else add the shell to the file.