[proftpd] gezeik m,et rechetn

Pagina: 1
Acties:

  • THIJZEL
  • Registratie: Januari 2001
  • Niet online
ik wil dat de user werner als defoultroot "\usr\local\apache\htdocs\werner\" krijgt, de user thijs mag "overal" in(defoutroot"/usr/local/apache/htdocs/"

maar ik mag met de user werner dus nergens in, hij logt wel in maar hij krijgt van ze list niks terug waarschijnlijk omdat ie geen rechten heeft..

dit is me proftpd.conf:
code:
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
defaultroot /usr/local/apache/htdocs/

# 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

# Set the user and group that the server normally runs at.
User                    ftp
Group                  ftp

# Normally, we want files to be overwriteable.
<Directory /*>
  AllowOverwrite            on
</Directory>

#users met alle rechten
TimeoutNoTransfer 5000
<Limit ALL DELE>
 Order Allow,Deny
 AllowUser thijs,werner
 Deny ALL
</Limit>

dit geeft ls -al htdocs
code:
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
total 104
drwxrwxrwx   13 root     root      4096 Nov  6 23:30 .
drwxr-xr-x   13 root     root      4096 Nov  6 23:30 ..
-rwxrwxrwx    1 thijs    thijs       0 Nov  4 20:40 blaat.txt
drwxrwxrwx    2 thijs    thijs    4096 Sep 17 00:20 cgi-bin
-rwxrwxrwx    1 thijs    thijs     115 Sep 20 20:45 config.inc.php
-rwxrwxrwx    1 thijs    thijs     258 Sep 20 20:45 db.php
-rwxrwxrwx    1 thijs    thijs     177 Sep 20 20:45 email.php
-rwxrwxrwx    1 root     root        53 Sep 20 20:45 footer.inc.php
drwxrwxrwx    4 thijs    thijs    4096 Oct  5 20:07 fotos
-rwxrwxrwx    1 root     root       340 Sep 20 20:45 header.inc.php
-rwxrwxrwx    1 root     root       170 Sep 20 20:45 index.php
-rwxrwxrwx    1 thijs    thijs     720 Sep 20 20:45 insert.php
-rwxrwxrwx    1 thijs    thijs      16 Sep 20 20:45 inside.php
-rwxrwxrwx    1 thijs    thijs     229 Sep 20 20:45 login.php
-rwxrwxrwx    1 thijs    thijs     471 Sep 20 20:45 loginres.php
-rwxrwxrwx    1 thijs    thijs     324 Sep 20 20:45 mail.php
drwxrwxrwx    9 1134     1134      4096 Sep 17 00:21 manual
drwxr-xr-x    2 thijs    thijs    4096 Nov  2 23:17 mp3
drwxrwxrwx    2 thijs    thijs    4096 Nov  4 20:41 plaatjuhs
drwxrwxrwx    2 thijs    thijs    4096 Sep 17 00:21 pubfillers
drwxrwxrwx    3 thijs    thijs    4096 Sep 17 00:21 skool
drwxrwxrwx    5 thijs    thijs    4096 Sep 17 00:22 source
drwxrwxrwx    2 thijs    thijs    4096 Sep 17 00:22 sploits
-rwxrwxrwx    1 thijs    thijs    5271 Nov  4 20:37 test.txt
drwxr-xr-x    4 thijs    thijs    4096 Oct 31 23:20 tools
drwxrwxrwx    2 root     root      4096 Nov  6 23:30 werner

edit: spelvouten

  • acq
  • Registratie: Mei 2000
  • Laatst online: 30-03-2023

acq

ing. en dan? :D

Op dinsdag 06 november 2001 23:46 schreef THIJZEL het volgende:
ik wil dat de user werner als defoultroot "\usr\local\apache\htdocs\werner\" krijgt, de user thijs mag "overal" in(defoutroot"/usr/local/apache/htdocs/"

maar ik mag met de user werner dus nergens in, hij logt wel in maar hij krijgt van ze list niks terug waarschijnlijk omdat ie geen rechten heeft..

dit is me proftpd.conf:
dit geeft ls -al htdocs
code:
1
2
total 104
drwxrwxrwx    2 root     root      4096 Nov  6 23:30 werner

edit: spelvouten
Werner zit niet in de groep root waarschijnlijk. Dan kan hij dus ook niet in zijn "eigen" werner directory. Dus ff directory andere eigenaar en groep geven.

Na 5 jaar toch maar eens een nieuwe sig :X | Roze nerdjes; ze bestaan ;P | All we need is one world wide vision - Queen | Novell servers reboot je om 11 uur, logisch toch? |:(