uprawnienia konta ftp

Konfiguracja serwerów, usług, itp.
AdamiGo
Posty: 3
Rejestracja: 08 czerwca 2008, 21:22

uprawnienia konta ftp

Post autor: AdamiGo »

Witam!

Chciałbym przypisac 50GB przestrzeni dyskowej do danego konta ftp. Jak to moge zrobic, oraz chciałbym na koncie zablokowac mozliwosc patrzenia do plikow systemowych itp., zeby nie mogl nic innego ogladac po za swoim folderem.

Najlepiej komendami :)

Prosze o pomoc.
salmon
Beginner
Posty: 296
Rejestracja: 12 października 2007, 23:28
Lokalizacja: Gliwice/Bielsko-Biała

Post autor: salmon »

jaki serwer ftp?
AdamiGo
Posty: 3
Rejestracja: 08 czerwca 2008, 21:22

Post autor: AdamiGo »

- FTP: proftpd jezeli o to ci chodzi
salmon
Beginner
Posty: 296
Rejestracja: 12 października 2007, 23:28
Lokalizacja: Gliwice/Bielsko-Biała

Post autor: salmon »

AdamiGo pisze:Jak to moge zrobic, oraz chciałbym na koncie zablokowac mozliwosc patrzenia do plikow systemowych itp., zeby nie mogl nic innego ogladac po za swoim folderem.
odhaszuj tą linijkę:

Kod: Zaznacz cały

 DefaultRoot                    ~
AdamiGo pisze:Chciałbym przypisac 50GB przestrzeni dyskowej do danego konta ftp
http://www.castaglia.org/proftpd/doc/co ... uotas.html
albo szukaj pod hasłem "proftpd quota "
AdamiGo
Posty: 3
Rejestracja: 08 czerwca 2008, 21:22

Post autor: AdamiGo »

Kod: Zaznacz cały

#
# To have more informations about Proftpd configuration
# look at : [url]http://www.proftpd.org/[/url]
#

# This is a basic ProFTPD configuration file (rename it to 
# 'proftpd.conf' for actual use.  It establishes a single server
# and a single anonymous login.  It assumes that you have a user/group
# "nobody" and "ftp" for normal operation and anon.

ServerName			"ProFTPD"
ServerType  inetd
ServerType  inetd
DefaultServer			on
<Global>
DefaultRoot	~		psacln
AllowOverwrite		on
</Global>
DefaultTransferMode	binary
UseFtpUsers			on

# Port 21 is the standard FTP port.
Port				21
# Umask 022 is a good standard umask to prevent new dirs and files
# from being group and world writable.
Umask				022

# To prevent DoS attacks, set the maximum number of child processes
# to 30.  If you need to allow more than 30 concurrent connections
# at once, simply increase this value.  Note that this ONLY works
# in standalone mode, in inetd mode you should use an inetd server
# that allows you to limit maximum number of processes per service
# (such as xinetd)
MaxInstances			30

#Following part of this config file were generate by PSA automatically
#Any changes in this part will be overwritten by next manipulation 
#with Anonymous FTP feature in PSA control panel.

#Include directive should point to place where FTP Virtual Hosts configurations
#preserved

ScoreboardFile /var/run/proftpd/scoreboard

# Primary log file mest be outside of system logrotate province

TransferLog /usr/local/psa/var/log/xferlog

#Change default group for new files and directories in vhosts dir to psacln

<Directory /var/www/vhosts>
	GroupOwner	psacln
</Directory>

# Enable PAM authentication
AuthPAM on
AuthPAMConfig proftpd

IdentLookups off 
UseReverseDNS off

AuthGroupFile	/etc/group

Include /etc/proftpd.include

mam cos takiego , co amm edytowac zeby dla home/user było zabronione dojscie do systemu?
salmon
Beginner
Posty: 296
Rejestracja: 12 października 2007, 23:28
Lokalizacja: Gliwice/Bielsko-Biała

Post autor: salmon »

AdamiGo pisze:DefaultRoot ~ psacln
niby to, tylko bez tego psacln
ODPOWIEDZ