Re: list Digest 25 Jan 2006 12:04:55 -0000 Issue 702

kalyan kumar <[email protected]> Sat, 28 Jan 2006 11:47:04 +0530
Newsgroups gmane.network.pureftpd.user
Message-ID <[email protected]>
--------------080508050706000701000806
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit

i have got suse10 and use pure-ftpd
what i want is
1. restrict the max no of connection to 5
2. create 2 users say user1 and user2
3. configure the server such that user1 can not have more than 3
simultaneous connection and user2 cannot have more than 2 simultaneous
connection

so i did the following
1.* kalyan:/home/kalyan # groupadd ftpgroup*
2. *kalyan:/home/kalyan # useradd -g ftpgroup -d /etc/pure-ftpd -s /etc
ftpuser*
3.i  added the following to /etc/init.d/boot.local file
 * /usr/sbin/pure-ftpd -j -A -b -B -c 5 -C 1 -E -R -X -I 3 -K -O
clf:/var/log/pureftpd.log -l puredb:/etc/pure-ftpd/pureftpd.pdb
*4.then created user "user1" as follows
  *kalyan:/home/kalyan # pure-pw useradd user1 -u ftpuser -d
/srv/ftp/pub/ -t 3000 -y 3
  Password:
  Enter it again:
  kalyan:/home/kalyan # pure-pw mkdb
*5.similarly i created  user2 with -y 2



but the problem is user1 can still have more than 3 connection :'(
pls help me out
*
*

--------------080508050706000701000806--