nixCraft Linux / UNIX Newsletter

nixCraft Linux / UNIX Newsletter

nixCraft Linux / UNIX Newsletter [Link to nixCraft: Linux Tips, Hacks, Tutorials, And Ideas In Blog Format] ________________________________ * Explain: {,} in cp or mv Bash Shell Commands * Ubuntu Copy File Command * Linux: Log Suspicious Martian Packets / Un-routable Source Addresses * Increase NFS Client Mount Point Security For a Web-Server noexec, nosuid, nodev Options * HowTo: Prevent Yum From Upgrading The Kernel On a CentOS / Red Hat Enterprise Linux Explain: {,} in cp or mv Bash Shell Commands Posted: 19 Feb 2014 10:13 AM PST [http://s0.cyberciti.org/images/category/old/terminal.png] I often see commands as follows posted on blog or forums cp /etc/httpd/httpd.{,.bakup} OR mv resume{z,}.doc What is the purpose of {,} in Linux and Unix shell commands? Read answer to: “Explain: {,} in cp or mv Bash Shell Commands” [Tweet this] [Share on Facebook] Ubuntu Copy File Command Posted: 19 Feb 2014 09:28 AM PST [http://s0.cyberciti.org/images/category/old/ubuntu-logo.jpg] I’m a new Ubuntu Linux user. This seems like a newbie question, but I can not seem to find examples to copy files on Ubuntu. How do I copy file to another directory on Ubuntu Linux using command line terminal application? How can I copy files via terminal on Ubuntu Linux desktop? Read answer to: “Ubuntu Copy File Command” [Tweet this] [Share on Facebook] Linux: Log Suspicious Martian Packets / Un-routable Source Addresses Posted: 19 Feb 2014 02:09 AM PST [http://s0.cyberciti.org/images/category/old/networking.png] I run a web-server and I would like to log packets with un-routable source addresses on Linux operating system. How can I log spoofed packets on Debian / Ubuntu / CentOS / RHEL / Linux based server? How can I log a Martian packet (packet from Mars) on Linux operating systems? Read answer to: “Linux: Log Suspicious Martian Packets / Un-routable Source Addresses” [Tweet this] [Share on Facebook] Increase NFS Client Mount Point Security For a Web-Server noexec, nosuid, nodev Options Posted: 19 Feb 2014 12:31 AM PST [http://s0.cyberciti.org/images/category/old/centos_logo.png] I am using NFS server version 4.x on a CentOS/RHEL based system. I’m mounting my shared /var/www/ directory on five Apache based nodes using the following syntax: mount -t nfs4 -o rw,intr,hard,proto=tcp rocknas02:/httproot/www /var/www/ I noticed that due to bug in my app user can sometime upload executable or other device files to get out of chrooted Apache server. How can I prevent such security issues on a CentOS or RHEL based NFS client and sever setup? Read answer to: “Increase NFS Client Mount Point Security For a Web-Server noexec, nosuid, nodev Options” [Tweet this] [Share on Facebook] HowTo: Prevent Yum From Upgrading The Kernel On a CentOS / Red Hat Enterprise Linux Posted: 19 Feb 2014 12:26 AM PST [http://s0.cyberciti.org/images/category/old/rhlogo.gif] I am a new RHEL / Centos Linux server admin. I would like yum to update all packages except the Linux Kernel. How can I prevent yum command from updating kernel on a CentOS/RHEL/Fedora Linux based systems? Read answer to: “HowTo: Prevent Yum From Upgrading The Kernel On a CentOS / Red Hat Enterprise Linux” [Tweet this] [Share on Facebook] Esta mensagem, incluindo os seus anexos, cont?m informa??es confidenciais destinadas a indiv?duo e prop?sito espec?ficos, e ? protegida por lei. Caso voc? n?o seja o citado indiv?duo, deve apagar esta mensagem. ? terminantemente proibida a utiliza??o, acesso, c?pia ou divulga??o n?o autorizada das informa??es presentes nesta mensagem. As informa??es contidas nesta mensagem e em seus anexos s?o de responsabilidade de seu autor, n?o representando id?ias, opini?es, pensamentos ou qualquer forma de posicionamento. The information contained in this communication is confidential, is law protected, and is intended only for the business use of the addressee. If you have received this communication in error, please immediately delete it. It’s forbidden the unauthorized use, access, copy or disclose of the information contained in this communication. The content of this message is responsibility of the author, and does not represent ideas, opinions, thoughts or any kind of statement.