- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- ftpaccess file problem.
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
06-18-2003 11:53 AM
06-18-2003 11:53 AM
My ftpaccess file looks like this.
class local real,anonymous,guest *
class remote anonymous *
banner /etc/issue
File /etc/shells is OK and lists all valid shells. ftp line in inetd.conf is as follow.
ftp stream tcp nowait root /usr/lbin/ftpd ftpd -la /etc/ftpd/ftpaccess
I do inetd -c and try to do ftp but get following error.
ACCESS DENIED (not in any class) TO xxxx [xxx.xx.xx.xxx]
FTP LOGIN REFUSED (access denied) FROM xxxx [xxx.xx.xx.xxx], user_name.
Thanks in Advance.
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-18-2003 11:57 AM
06-18-2003 11:57 AM
Re: ftpaccess file problem.
root:xxxxxxxxxx:0:3::/:/sbin/mysh
then you need /sbin/mysh in /etc/shells
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-18-2003 11:57 AM
06-18-2003 11:57 AM
Re: ftpaccess file problem.
Is there a space between guest and *?. It should be looking like
class local real, anonymous,guest *
-Sri
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-18-2003 12:00 PM
06-18-2003 12:00 PM
Re: ftpaccess file problem.
-Sri
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-18-2003 12:02 PM
06-18-2003 12:02 PM
Re: ftpaccess file problem.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-18-2003 12:02 PM
06-18-2003 12:02 PM
Re: ftpaccess file problem.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-18-2003 12:06 PM
06-18-2003 12:06 PM
Re: ftpaccess file problem.
There is a space between guest and *.
For Paul and Elana.
There are no restrictions in inetd.sec.
Shell is listed in /etc/shells.
I am getting this error for all users.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-18-2003 12:16 PM
06-18-2003 12:16 PM
Re: ftpaccess file problem.
class local real,anonymous,guest *
to
class local real,guest,anonymous,user *
then try to ftp as user
just something to try
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-18-2003 12:22 PM
06-18-2003 12:22 PM
Re: ftpaccess file problem.
Try replacing the * with a subnet address that you are logging in from.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-18-2003 12:24 PM
06-18-2003 12:24 PM
Re: ftpaccess file problem.
You got me in there. Is this happening for only user_name or all the users?.
I cut and pasted your three lines on my workstation. It works just fine.
-Sri
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-18-2003 12:24 PM
06-18-2003 12:24 PM
Re: ftpaccess file problem.
class all real,guest,anonymous *
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-18-2003 12:29 PM
06-18-2003 12:29 PM
Re: ftpaccess file problem.
Adding user name worked.
Do not know how to define class statement. In order to grant all users(user logins) ftp access, Will I have to add each user in class statement? or can i put as follows.
class local guest,anonymous,guest,* *
Thanks for the help.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-18-2003 12:32 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-18-2003 12:42 PM
06-18-2003 12:42 PM
Re: ftpaccess file problem.
class all real,anonymous,guest *
But not this
class local real,anonymous,guest *
Seems funny to me.
OR I will add all required user_names in class statement.
One More QUESTION.
Can I supress ftp codes in ftp session?
Thanks everybody.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-18-2003 01:03 PM
06-18-2003 01:03 PM
Re: ftpaccess file problem.
would not work on a remote system
I'd stick with
class all real,anonymous,guest *
that way local and remote would be the same.
I don't believe there is any "easy" way of
supressing ftp codes
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-19-2003 02:16 AM
06-19-2003 02:16 AM
Re: ftpaccess file problem.
If you want to suppress it then why don't you remove /etc/ftpd/ftpaccess file itself , pl follow the below steps as root user.
1. rm /etc/ftpd/ftpaccess
2. vi /etc/inetd.conf and modify the line for ftp as below.
ftp stream tcp nowait root /usr/lbin/ftpd ftpd -l
3. inetd -c
Instead of ftpaccess try to control the users through /etc/ftpd/ftpusers , it's the easiest way. It works very well for me.