Fulltext results:
- PHP @linux:webserver
- o separate the domains and run scripts as separte user. This works well with ssh-sftp setup.because scripts are owned by the same user as the sftp user - not www-data. **Pool per domain config:** cd /etc/php5/fpm/pool.d/ cp www.conf {user1.conf,user2.conf} replace all appearances of "ww
- SSH @linux:network
- remote machine: ssh-copy-id -i .ssh/id_rsa.pub user@remoteserver \\ ===== Key authentication - restr... s chroot-dir: ChrootDirectory %h add group and user: groupadd sftp useradd -g sftp -d /var/www/user/ -s /sbin/nologin user passwd user set permissions, **chown to root**: chown root:root /var/www/
- Courier @linux:emailserver
- mailq - **cancelmsg sends an an error mail to the user!**: cancelmsg msgID Delete ALL messages from m... rsion - **cancelmsg sends an an error mail to the user!** for i in `mailq | egrep '^[0-9]' | awk ' {pr... ist * spamassassin --remove-addr-from-whitelist=user@example.com * check: sa-awl root/.spamassassin/auto-whitelist | grep user@example.com * copy /root/.spamassassin/auto-whi
- mySQL @linux:databases
- t by mail: mysqlcheck -A -r --host=${HOST} --user=root --port=3308 \ --password=${PASSWD} | mai... t --host=127.0.0.1 --default-character-set=utf8 --user=root --password=${PWD} $DB > $FILE If you get "... ass in SQL: mysql> use mysql; mysql> update user set password=PASSWORD("NEW-ROOT-PASSWORD") where User='root'; mysql> flush privileges; mysql> qui
- Grafana-InfluxDB @communitycloud:services:monitoring
- n** Setup users in influx -cli: Admin: CREATE USER admin WITH PASSWORD 'xxxxxxxxxxxx' WITH ALL PRIVILEGES Normal User for logging: CREATE USER logger WITH PASSWORD 'yyyyyyyyyyyyyyyyyyyy' GRANT ALL ON "stats" TO logger
- LXC @linux:virtualization
- ntainer to another machine, .. - take care of the user/group IDs: pack: tar --numeric-owner -czvf con... - than its the same as running the containers as user. for best security, each container should have i... c/subgid, root:100000:65536 **vs config - map user ids:** put this in /etc/lxc/default.conf too!
- Etherpad Live Editor @communitycloud:services
- downloads the modules ^^ * **create a etherpad user** * run as etherpad user: * su etherpad * etherpad-lite**/bin/run.sh** * **visit http:/... ASE `etherpad` CHARACTER SET='utf8'; * CREATE USER 'etherpad'@'localhost' IDENTIFIED BY 'PUT YOUR PA
- Samba @linux:network
- smb.conf: [global] security = user guest account = nobody map to guest = Bad User .. public readable share: [share] c... s_here guest ok = yes add guest user: smbpasswd -an nobody restart samba server:
- Nginx @linux:webserver
- cache ""; # If non GET/HEAD, don't cache & mark user as uncacheable for 1 second via cookie if ($req... extensive List: server { ... if ($http_user_agent ~* (AspiegelBot|MegaIndex|heritrix|panscien... ://www.howtoforge.com/nginx-how-to-block-exploits-sql-injections-file-injections-spam-user-agents-etc
- Replication @linux:databases:mysql
- ysql -u root --password=xxxx **Add a replication user on both nodes:** GRANT REPLICATION SLAVE ON ... CHANGE MASTER TO MASTER_HOST='1.2.3.4', MASTER_USER='replicator', MASTER_PASSWORD='xyxyxyxyxyxyxyxyxy... CHANGE MASTER TO MASTER_HOST='1.2.3.4', MASTER_USER='replicator', MASTER_PASSWORD='xyxyxyxyxyxyxyxyxy
- Nextcloud @communitycloud:services
- e AJAX cron, use system cron: */5 * * * * <user> php -f /var/www/<domain>/cloud/wwwroot/cron.php run Cron / OCC manually: sudo -u <user> php -f /var/www/<domain>/cloud/wwwroot/cron.php
- MTA - Mail transfer agents @linux:emailserver
- just send mail. /etc/ssmtp/ssmtp.conf: # The user that gets all the mails (UID < 1000, usually the ... e address where the mail appears to come from for user authentication. rewriteDomain=gmail.com #
- Chat Server @communitycloud:services
- dyctl users can add themselves via pidgin change user password: prosodyctl passwd user@domain.com
- Monitoring @communitycloud:services
- /munin/plugins/ === mysql / mariadb === mysql user required: CREATE USER 'munin'@'localhost' IDENTIFIED BY 'PASSWD_HERE'; GRANT PROCESS, REPLICATION C