- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: ftp error
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-25-2009 09:58 AM
тАО09-25-2009 09:58 AM
Last week i have added banner '/etc/issue' in ftpaccess file and flag -a in ftp line inetd.conf.After that application team complained
not able to login thro ftp.
First i created /etc/shells and included shells.
But no use.Then i removed -a flag from inetd.conf.Its worked.Please tell me why -a caused problem.
And i want to restrict some particular shells from using ftp.How to do that
regards
himacs
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-25-2009 10:05 AM
тАО09-25-2009 10:05 AM
Re: ftp error
I did a quick man page on ftpd and it shows that -a says to enable the use of the ftpaccess file, which is the default.
This is probably just a quirk in the implementation, because of course this is the default behavior. I guess you might consider it a bug.
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
тАО09-25-2009 10:07 AM
тАО09-25-2009 10:07 AM
Solution> Please tell me why -a caused problem.
This switch enables use of the '/etc/ftpd/ftpaccess' configuration file. Do you have one? What does it contain?
> And i want to restrict some particular shells from using ftp.How to do that
Configure '/etc/shells' to only specify the shells you want to function with FTP. By default, if '/etc/shells' isn't present, you have:
/sbin/sh
/usr/bin/sh
/usr/bin/rsh
/usr/bin/ksh
/usr/bin/rksh
/usr/bin/csh
/usr/bin/keysh
Regards!
...JRF...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-25-2009 10:28 AM
тАО09-25-2009 10:28 AM
Re: ftp error
Thanx for the responses..
my ftpaccess file contains below lines..
class all real,guest,anonymous *
limit all 10 Any /etc/msgs/msg.dead
readme README* login
readme README* cwd=*
message /welcome.msg login
message .message cwd=*
compress yes all
tar yes all
log commands real
log transfers anonymous,real inbound,outbound
shutdown /etc/shutmsg
email user@hostname
banner /etc/issue
regards
himacs
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-25-2009 10:41 AM
тАО09-25-2009 10:41 AM
Re: ftp error
Syslog shown below line while application team were trying to access ftp.
ACCESS DENIED (not in any class)
what does it mean...
regards
himacs
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-25-2009 10:49 AM
тАО09-25-2009 10:49 AM
Re: ftp error
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-25-2009 11:08 AM
тАО09-25-2009 11:08 AM
Re: ftp error
Check your /etc/ftpd/ftpaccess file for the user. If there, paste into a response.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-25-2009 11:19 AM
тАО09-25-2009 11:19 AM
Re: ftp error
Looks like your /etc/ftpd/ftpaccess file is having wrong entry: check the file:
- Also adding -a to inetd.conf is normal to activate use of ftpaccess file:
check:
-------------
Enabling/Disabling the ftpaccess File :
To enable the /etc/ftpd/ftpaccess file, specify the -a option for the ftp entry in the /etc/inetd.conf file. For example,
ftp stream tcp nowait root /usr/lbin/ftpd ftpd -a -l -d
To disable the /etc/ftpd/ftpaccess file, specify the -A option for the ftp entry in the /etc/inetd.conf file. For example,
ftp stream tcp nowait root /usr/lbin/ftpd ftpd -A -l -d
------------
Hth,
Raj.