Virtual ftp server
Sotiris Tsimbonis
stsimb at hellug.gr
Fri Jul 7 19:12:33 EEST 2000
On Fri, 7 Jul 2000, Yannis Mitsos wrote:
> To problhma einai oti 8elw o user virtual na mhn exei prosbash sto /
> dir. Pws ylopoieitai ayto ? Sto man page tou ftpacces brhka oti
> pros8etontas sto passwd thn e3hs grammh:
> virtual:x:1002:100:Virual,,,:/home/./virtual/pub:/etc/ftponly
> o xrhsths virtual den mporei na "bgei" e3w apo to dir tou, alla
> mataia....
dhmiourghse ena group, px ftponly, kai bale ton xrhsth s'ayto to group..
meta pros8ese to parakatw sto /etc/ftpaccess sou:
# specify which group of users will be treated as "guests".
guestgroup ftponly
kai otan tha kanei login o xrhsths tha einai chrooted sto home tou..
gia na mporei na kanei ls, kane kai to e3hs:
cp -a ~ftp/bin ~user
etsi wste na yparxei to statically linked ls tou ftp, mesa sto home tou
user..
isws theleis na alla3eis ta ta permissions twn "guests" sto /etc/ftpaccess
etsi wste na mporoun na kanoun delete, rename, overwrite, chmod kai umask..
_ _ _|_ o._ o _
_)(_) |_ || |_>
--
linux-greek-users mailing list -- http://lists.hellug.gr
More information about the Linux-greek-users
mailing list