About FTP
16.12.06 01:56 |
OS X Server
1) To allow only FTP access to a share (AFP/FTP/SMB):
2) All the configuration files are in /Library/FTPServer/Configuration
3) "man ftpaccess" had some useful info on the different chrootType values:
and they all work with serveradmin:
$ sharing -e sharename -s 010
2) All the configuration files are in /Library/FTPServer/Configuration
3) "man ftpaccess" had some useful info on the different chrootType values:
chroot_type standard | homedir | restricted
Sets the type of restricted environment the user is under when he
logs on. standard Allows users to access the ftp root, their
homedir, and sharepoints. homedir Allows users to access the
their homedir and sharepoints. restricted restricts users to
their own home directory.
and they all work with serveradmin:
$ serveradmin settings ftp:chrootType = "HOMEDIR"
|