OS: AIX 5.2
ftp: ftpd
Om gebruikers alleen toegang te geven tot een bepaalde directory moet je een ftpaccess.ctl bestand aanmaken (volgens de man page) Dit heb ik gedaan en hier heb ik de regel:
readwrite: /home/
in gezet. Dan zou de toegang beperkt worden tot deze directory, volgens de man page. Nu kan ik met de gebruiker gewoon inloggen en overal doorheen browsen. Behalve root is er 1 gebruiker die ftp zou mogen gebruiken. Gebruikers die helemaal geen gebruik mogen maken van ftp staan in de ftpusers file.
ik heb de inetd deamon al herstart en ook het ftp subproces. Toch kan die ene gebruiker nog overal doorheen bladeren. Wat doe ik fout?
edit: stukje info:
The syntax for the readonly:, writeonly: and readwrite: lines are:
readonly: dirname, dirname, ...
writeonly: dirname, dirname, ...
readwrite: dirname, dirname, ...
The readonly: lines list the read-only directories and the writeonly: lines list
the write-only directories. If one wants read access in a write-only directory
or if one wants write access in a read-only directory, then access is denied.
All other directories are granted access except when a readwrite: line(s) is
specified. If a readwrite: line(s) is specified, only directories listed in the
readwrite: line and/or listed in the readonly: line are granted access for
reading, AND only directories listed in the readwrite: line and/or listed in the
writeonly: line are granted access for writing. Also, these lines can have a
value of "ALL" or "NONE".
ftp: ftpd
Om gebruikers alleen toegang te geven tot een bepaalde directory moet je een ftpaccess.ctl bestand aanmaken (volgens de man page) Dit heb ik gedaan en hier heb ik de regel:
readwrite: /home/
in gezet. Dan zou de toegang beperkt worden tot deze directory, volgens de man page. Nu kan ik met de
ik heb de inetd deamon al herstart en ook het ftp subproces. Toch kan die ene gebruiker nog overal doorheen bladeren. Wat doe ik fout?
edit: stukje info:
The syntax for the readonly:, writeonly: and readwrite: lines are:
readonly: dirname, dirname, ...
writeonly: dirname, dirname, ...
readwrite: dirname, dirname, ...
The readonly: lines list the read-only directories and the writeonly: lines list
the write-only directories. If one wants read access in a write-only directory
or if one wants write access in a read-only directory, then access is denied.
All other directories are granted access except when a readwrite: line(s) is
specified. If a readwrite: line(s) is specified, only directories listed in the
readwrite: line and/or listed in the readonly: line are granted access for
reading, AND only directories listed in the readwrite: line and/or listed in the
writeonly: line are granted access for writing. Also, these lines can have a
value of "ALL" or "NONE".
[ Voor 39% gewijzigd door zomertje op 28-12-2004 14:26 ]
het ultieme jaargetijde.... | #!/usr/bin/girl | Art prints and fun