September 3, 2009

hosts.allow question

hi there,
i have a basic question about general use of /etc/hosts.allow
is it possible to have multiple lines for the same protocol ?
right now i have 1 line for vsftpd like:

vsftpd: xxx1 , xxx2, xxx3 : allow

(where xxx1,2 and 3 are IP i want to allow)
it works but its easy to forget which ip belong to who ..
i'd like to do like this if its possible:

# john doe
vsftpd: xxxx1 : allow
# smith
vsftpd: xxxx2 : allow
# michael
vsftpd: xxxx3 : allow

is it possible ?

Click Here!