Pure-ftpd
configuration on SUSE Linux
Lab scenario
:
ftp-server :192.168.0.102
client :192.168.0.101
on ftpserver we create 3 users
·
ftpadmin = were all data keeping in like
as
/home/ftpadmin/data/i586/
And change the ownership like this
#Chown –R
ftpadmin.users /home/ftpadmin/data
Next
user is bsembr6385
And change the ownership like this
# chown –R ftpadmin:users /home/bsembr6385
We change the ownership becoz client side
bsembr6385 login and acess the data in /home/ftpadmin/data
Or
If u want restrict the
/home/ftpadmin/data to bsembr6385
Then run the follwing command
# chmod 744 –R /home/ftpadmin/data
Then bsembr6385 cannot see te content of
the Data directory
1step
Install pure-ftpd package from dvd od
sles11
2nd step
Start the service
# /etc/init .d /pure-ftpd restart
The
go to client side
# sftp bsembr6358@192.168.0.101
No comments:
Post a Comment