![]() ![]() |
Jan 16 2006, 03:02 AM
Post
#1
|
|||||||||||||||||
|
Its GNU/Linuxhelp.net ![]() ![]() ![]() ![]() ![]() ![]() ![]() Group: Support Specialist Posts: 1,417 Joined: 3-January 04 From: Serbia and Montenegro (SCG) Member No.: 2,069 |
Hello Everyone,
This one is going to be a CentOS 3.x,CentOS 4.x vsftpd guide. First you need to download CentOS 3.x CD1 or CentOS 4.x CD1 from www.centos.org. Then once the computer is installed you do the
Once the update has successfully finished, you issue the following command
Using your favorite text editor or using vi (your choice) you create a new vsftpd.conf file. First you backup the old one like this.
and add the following lines to the vsftpd.conf file
the file vsftpd.user_list should contain atleast the following users root,bin,daemon,adm,lp,sync,shutdown,halt,mail,news,uucp,operator,games,nobody ... you may need to manually add some users if you install new services for example squid , etc... next comes the add user part
then using your favorite text editor or with vi edit your /etc/passwd file like this WRONG:
CORRECT
You will need to do this for each user you add and wish to use to access the ftp server. Now all that is left, make sure vsftpd starts up by default
Login with your test username , and that is all. NOTE : each user will only be able to see it's own /home/username directory , and wont be able to get outside of that. Sincerely Robert B -------------------- Robert Becskei
robert83@linuxhelp.net -------------------- May the source be with us! -------------------- AMD X2-3800 @ 2400Mhz 2048MB DDR 400Mhz DFI Lanparty UT4 NF4 ULTRA-D GeForce 7800GT 250GB+250GB Pioneer DVD-RW 17inch Samsung Syncmaster 757NF WinXP Pro (SP2)/ CentOS 4.3 -------------------- |
||||||||||||||||
|
|
|||||||||||||||||
![]() ![]() |
|
Lo-Fi Version | Time is now: 16th May 2008 - 09:32 PM |