Operating System - HP-UX
1833175 Members
2723 Online
110051 Solutions
New Discussion

ftpaccess "limit" parameter : wu-ftp

 
Youlette Etienne_2
Regular Advisor

ftpaccess "limit" parameter : wu-ftp

Hello,

I have setup a wu-ftp server on hp-ux 11.0, but am encountering the following problem with the "limit" parameter.

I have the following line in ftpaccess:

limit ftpusers 1 Any /etc/msgs/msg.dead

which works:

ftp> user fpc
331 Password required for fpc.
Password:
530-Unable to open a new session at this time. Please try again later.
530 Login incorrect.
Login failed.

But when I use the following line:

limit ftpusers 1 Any0800-0900 /etc/msgs/msg.dead

not only does it not restrict the guestuser from logging in at any other time other than between 8:00 - 9;00, but it also allows more than one guestuser session at a time. When I remove the time restriction, guestusers are restricted to only 1 session at a time.

The date is currently:
#date
Fri Oct 6 09:45:41 EST 2000

I've checked the wu-ftp FAQ site and the itrc for the correct format, but it is the same as I have.

How can I fix this?
If at first you don't succeed, change the rules!
2 REPLIES 2
Berlene Herren
Honored Contributor

Re: ftpaccess "limit" parameter : wu-ftp

Do you have multiple limits? If multiple limit commands apply to the current session, the first applicable one is used.

Berlene
http://www.mindspring.com/~bkherren/dobes/index.htm
Youlette Etienne_2
Regular Advisor

Re: ftpaccess "limit" parameter : wu-ftp

Berlene,

I only have one limit command. For this server, I am only allowing guestuser logins.
If at first you don't succeed, change the rules!