- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: anonymous ftp access denied
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
03-17-2003 05:13 AM
03-17-2003 05:13 AM
anonymous ftp access denied
i'm not able to understand why i cant make an anonymous ftp connection.
I follow the standard procedure:
1) create ftp user belonging to guest group, without password.
2) insert /usr/bin/false in /etc/shells
3) make the tree dir inside the ftp home directory.
the other users works!
...
but when i try to connect as anonymous the server respond:
[h3mih155]/etc/ftpd# ftp 127.0.0.1
Connected to 127.0.0.1.
220 FTP server ready.
Name (127.0.0.1:rasconil): anonymous
530 User anonymous access denied...
Login failed.
Remote system type is UNIX.
Using binary mode to transfer files.
and in the syslog file:
Mar 17 14:09:20 h3mih155 inetd[8712]: ftp/tcp: Connection from localhost (127.0.0.1) at Mon Mar 17 14:09:20 2003
Mar 17 14:09:24 h3mih155 ftpd[8712]: ACCESS DENIED (not in any class) TO localhost [127.0.0.1]
Mar 17 14:09:24 h3mih155 ftpd[8712]: FTP LOGIN REFUSED (access denied) FROM localhost [127.0.0.1], anonymous...
bah!!!!
thank you
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-17-2003 05:17 AM
03-17-2003 05:17 AM
Re: anonymous ftp access denied
Just one thing to start checking,
Rita
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-17-2003 05:22 AM
03-17-2003 05:22 AM
Re: anonymous ftp access denied
/etc/ftpd/ftpusers
as whether you have restricted this user
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-17-2003 05:34 AM
03-17-2003 05:34 AM
Re: anonymous ftp access denied
loginfails 2
noretrieve /etc/passwd /etc/group core .netrc .rhosts
suppresshostname yes
suppressversion yes
class local real,anonymous *.domain 0.0.0.0
class remote real *
#limit local 20 Any /etc/msgs/msg.toomany
#limit remote 100 SaSu|Any1800-0600 /etc/msgs/msg.toomany
#limit remote 60 Any /etc/msgs/msg.toomany
readme README* login
readme README* cwd=*
message /welcome.msg login
message .message cwd=*
compress yes local remote
tar yes local remote
# allow use of private file for SITE GROUP and SITE GPASS?
private yes
# passwd-check
passwd-check rfc822 warn
log commands real
log transfers anonymous,real inbound,outbound
shutdown /etc/shutmsg
# all the following default to "yes" for everybody
delete no guest,anonymous # delete permission?
overwrite no guest,anonymous # overwrite permission?
rename no guest,anonymous # rename permission?
chmod no anonymous # chmod permission?
umask no anonymous # umask permission?
# specify the upload directory information
upload /FTPDIR/ * no
upload /FTPDIR/ /incoming yes ftp wftp 0600 dirs
# directory aliases
alias inc /incoming
# cdpath
cdpath /incoming
cdpath /pub
......
About the ftpusers file i try to connect renaming ftpusers as ftpusers.old and the result is the same
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-17-2003 05:58 AM
03-17-2003 05:58 AM
Re: anonymous ftp access denied
if you are running on a system with a hpux version lower than 11.00 the file that restricts the users ftp access is
/etc/ftpusers
I just tried entering the word "anonymous" in the above file on a 10.20 system and got the 530 message like yours.
Perhaps an idea?
regards,
John K.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-17-2003 06:03 AM
03-17-2003 06:03 AM
Re: anonymous ftp access denied
I ve no idea...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-17-2003 06:15 AM
03-17-2003 06:15 AM
Re: anonymous ftp access denied
Networking and Communications -> Network Services -> Anonymous FTP -> Enable.
Regards,
Sergejs
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-17-2003 06:21 AM
03-17-2003 06:21 AM
Re: anonymous ftp access denied
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-17-2003 06:25 AM
03-17-2003 06:25 AM
Re: anonymous ftp access denied
since it complains about "not in any class", you try to include the user anoymous in the class in /etc/ftpd/ftpacces, i.e. change the following line:
class remote real *
to
class remote real,guest,anonymous *
just another idea..
regards,
John K.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-17-2003 06:53 AM
03-17-2003 06:53 AM
Re: anonymous ftp access denied
Thank you for your answers.
Bye
Luca
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-17-2003 07:03 AM
03-17-2003 07:03 AM
Re: anonymous ftp access denied
just asking..
a change in /etc/ftp/ftpaccess requires that the inetd process must be forced to re-read its configuration, either by executing an "inetd -c" or a restart of the daemon. Hate to ask, but did you do that?
regards,
John K.