![]() |
s i s t e m a o p e r a c i o n a l m a g n u x l i n u x | ~/ · documentação · suporte · sobre |
Next
Previous
Contents
7. Virtual FTP7.1 InetdWu-ftpd comes with built in support to make it virtual. However, you
cannot maintain separate password files for each domain. For example, if
The inetd.conf entries for wu-ftpd:
ftp stream tcp nowait root /usr/local/bin/virtuald \ virtuald /virtual/conf.ftp wu.ftpd -l -a
7.2 Anonymous FTPThese are unaffected by the virtuald setup. For an anonymous user just create the FTP user in /virtual/domain1.com/etc/passwd like you would normally.
ftp:x:14:50:Anonymous FTP:/var/ftp:/bin/false Then setup the anonymous FTP directory. You have separate password files for
each domain so you can restrict which domain has an anonymous
FTP account. Please note that since the FTP server is already
7.3 Virtual FTP UsersWu-ftpd supports something called a guest group. This allows you
to create different FTP areas for each user. The FTP server does
a
Add the guest's group to the /virtual/domain1.com/etc/ftpaccess file.
Create an entry in /virtual/domain1.com/etc/passwd with the
guest1:x:8500:51:Guest FTP:/home/g/guest1/./incoming:/bin/false
Then setup guest's home like you would for anonymous FTP. You have separate
password files for each domain so you can specifiy which domains have guest
accounts and which users within a domain are guest users. Please note that since
the FTP server is already
Next Previous Contents |