Marzo 2009

Proftpd lock root allow resume – block per ip

DefaultRoot                     ~ RequireValidShell               off TimesGMT                        off AllowRetrieveRestart            on AllowStoreRestart               on —————– block external login selective <IfUser user1> <Limit LOGIN> order allow,deny allow from all deny all </Limit> </IfUser> <IfUser user2> <Limit LOGIN> order allow,deny allow from all deny all </Limit> </IfUser> <IfUser AND !user1 !user2> <Limit LOGIN> order allow,deny allow from192.168.26.0/24 deny all </Limit> </IfUser>

03/03/2009   Linux

The syntax for replication startup options is deprecated

#sql instruction CHANGE MASTER TO MASTER_HOST=’192.152.105.4′, MASTER_PORT=3306,MASTER_USER=slave’, MASTER_PASSWORD=’pwextra’,MASTER_SSL=1,MASTER_SSL_CA=’/etc/ssl/certs/cacert.pem’, MASTER_SSL_CAPATH =’/etc/ssl/certs’,MASTER_SSL_CERT = ‘/etc/ssl/certs/mysqlextraslave-cert.pem’, MASTER_SSL_KEY = ‘/etc/mysql/mysqlextraslave-key.pem’; Feb 18 12:20:15 extra mysqld_safe[24001]: 090218 12:20:15 [Warning] The syntax for replication startup options is deprecated and will be removed in MySQL 5.2. Please use ‘CHANGE MASTER’ instead. Feb 18 12:20:15 extra mysqld_safe[24001]: 090218 12:20:15 [Warning] The syntax for replication […]

03/03/2009   Linux