To change the owenership of any folder for domain user !! here i'm changing owenership of my "lampp" folder... the new owener is google\\user43 #sudo chown -R Google\\user43:root /opt/lampp/ Expl... sudo chown -R google\\user43:root /opt/lampp/ Give full permission of any folder for all #sudo chmod 777 /your folder location/ -R Expl.. sudo chmod 777 /opt/lampp/ -R
How to backup mx or secondary mailserver holds mailqueue if primary server is down. Domain >arvind-madhukar.info Server1>linux1.arvind-madhukar.info (1.1.1.1) Server2>linux2.arvind-madhukar.info (2.2.2.2) On Server2>linux2.arvind-madhukar.info (2.2.2.2) ------------------------------------- Add/edit domain(arvind-madhukar.info) in /etc/secondarymx Add/edit domain(arvind-madhukar.info) in /etc/remotedomains Note: Allow (1.1.1.1) in your trusted host and Graylisting (Mail) Server1>linux1.arvind-madhukar.info (1.1.1.1) ------------------------------------- Modify dns zone file as below on primary server: arvind-madhukar.info 14400 IN mx 0 arvind-madhukar.info mx2 14400 IN A 2.2.2.2 arvind-madhukar.info 14400 IN mx 2 mx2.arvind-madhukar.info
Passwordless Host 192.168.5.72 Accessable from 192.168.5.78 -------------------------------------------------------------------------- Step 1 -------------------------------------------------------------------------- Run the below command which ip/host you want to access without password....in my case 192.168.5.72 root@pc022:/home/arvind# ssh-keygen -t rsa -------------------------------------------------------------------------- Step 2 -------------------------------------------------------------------------- Go to the /etc/ssh/ssh_conf and edit uncomment/edit some lines.... root@pc022:/home/arvind# nano /etc/ssh/sshd_config PubkeyAuthentication yes AuthorizedKeyFile .ssh/authorized_keys PasswordAuthentication no Restart the SSH server and you’re done. root@pc022:/home/arvind# sudo service ssh restart -------------------------------------------------------------------------- Step 3 -------------------------------------------------------------------------- Run the bel...