Impostare l'uid ed il gid dei files in ProFtpd con autenticazione SQL

From RVM Wiki
Jump to navigation Jump to search

Se si usa l'autenticazione SQL (con pam disabilitato) non si riesce ad usare le direttive

UserOwner                    nobody
GroupOwner                   www-data

e nemmeno le direttive

DirFakeUser on nobody
DirFakeGroup on www-data

Perchè il sistema non trova altri utenti/gruppi non definiti nel databse SQL.

Occorre impostare utente e gruppo usando:

SQLDefaultUID   65534
SQLDefaultGID   33