virtual services howto 7 dkrozgdlywt6qgc2664kcfjkbrv3huibhvxe4ky dkrozgdlywt6qgc2664kcfjkbrv3huibhvxe4ky DKROZGDLYWT6QGC2664KCFJKBRV3HUIBHVXE4KY


Virtual Services Howto: Virtual FTP 7. Virtual FTP 7.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 bob@domain1.com and bob@domain2.com both want an account you would have to make one of them bob2 or have one of the users choose a different user name. Since you now have a virtual filesystem for each domain you have separate password files and this problem goes away. Just create a virtnewuser script and a virtpasswd script in the way mentioned above and you are all set.The inetd.conf entries for wu-ftpd: ftp stream tcp nowait root /usr/local/bin/virtuald \ virtuald /virtual/conf.ftp wu.ftpd -l -a7.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/falseThen 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 chrooted into the /virtual/domain1.com directory you do not have to prefix any paths with it.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 chroot to the specified area so the user cannot go outside that directory tree. If you create the users within a virtual domain this way they will not be able to view the system files.Add the guest's group to the /virtual/domain1.com/etc/ftpaccess file.Create an entry in /virtual/domain1.com/etc/passwd with the chroot dir and the starting home directory separated by /./ : guest1:x:8500:51:Guest FTP:/home/g/guest1/./incoming:/bin/falseThen 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 chrooted into the /virtual/domain1.com directory you do not have to prefix any paths with it. o

Wyszukiwarka

Podobne podstrony:
virtual services howto ym6h2bejxvus25y5v2fkhmbbzaaxns3bkwfovgy ym6h2bejxvus25y5v2fkhmbbzaaxns3bkwfov
virtual services howto 12 j3g6bse7dyfgwtx25cs6tpeew2bl3qiithmbc5i j3g6bse7dyfgwtx25cs6tpeew2bl3qiith
virtual services howto 8 emdmfswyehpaegfyal5iix4g7ckx2l4uquec74q emdmfswyehpaegfyal5iix4g7ckx2l4uque
virtual services howto 4 t34vj65hu4nmdnk2szuwufye2lgghpbu56rebiq t34vj65hu4nmdnk2szuwufye2lgghpbu56r
virtual services howto 3 rklbp5sdlp777evneyw7ykycw4mnvez6iokbtha rklbp5sdlp777evneyw7ykycw4mnvez6iok
virtual services howto 13 dtsujznazc456pm3c3eb3auwlyavis4wuskknaa dtsujznazc456pm3c3eb3auwlyavis4wus
virtual services howto 10 47eklwh6qm7ozqgnqf6ikugqpkn2k6dm7u6icqy 47eklwh6qm7ozqgnqf6ikugqpkn2k6dm7u
virtual services howto 1 2ouyz5iab2sjpgu6uinjyqr7e6rrwtavd6jsqlq 2ouyz5iab2sjpgu6uinjyqr7e6rrwtavd6j
virtual services howto 6 imwycrfqbjy2elk7q244p2fkzkaku5walhll3wq imwycrfqbjy2elk7q244p2fkzkaku5walhl
HOWTO Setup a Virtual Postfix Courier Mail System with PostfixAdmin Gentoo Linux Wiki
bootdisk howto pl 8
PPP HOWTO pl 6 (2)
2002 09 Creating Virtual Worlds with Pov Ray and the Right Front End
NIS HOWTO pl 1 (2)
function virtual
kernel howto 3 clbigwpagydoy3epnkmic3ys7wlqwsg4rlwwgvq clbigwpagydoy3epnkmic3ys7wlqwsg4rlwwgvq

więcej podobnych podstron