Monday, December 01st, 2008 | Author: myazhax
myazhax# su myazhax# adduser Username: ftp Full name: Anonymous FTP user Uid (Leave empty for default): Logingroup [ftp]: Login group is ftp. Invite ftp into other groups? []: Login class [default]: Shell (sh csh tcsh bash rbash zsh nologin) [sh]: nologin Home directory [/home/ftp]: /where/your/ftp Use password-based authentication? [yes]: no Lock out the account after creation? [no]: no Username : ftp Password : Full Name : Anonymous FTP user Uid : 1004 Class : Groups : ftp Home : /where/your/ftp Shell : /usr/sbin/nologin Locked : no OK? (yes/no): yes adduser: INFO: Successfully added (ftp) to the user database. Add another user? (yes/no): no Goodbye! myazhax # mkdir -p /where/your/ftp/pub myazhax# chown ftp:ftp /where/your/ftp/pub myazhax# ee /etc/inetd.conf
edit line
ftp stream tcp nowait root /usr/libexec/ftpd ftpd -l -S -A -r myazhax# ee /etc/rc.conf
edit file, then put
inetd_enable="YES" myazhax # /ect/rc.d/inetd start
Pastu try to login

Category: Tutorial

