When it is a question of setting up things on remote machine, I managed always to get job done with a python script I wrote ( ssh + expect ). But I found these 2 shell scripts from Shannon -jj Behrens very useful.
The first installs your ssh-key on remote server:
# Install my ssh key on a remote system.
ssh-installkey() {
[ -n "$1" ] || {
echo "usage: ssh-installkey username@host" >&2
return 1
}
ssh $1 "mkdir -p -m 700 .ssh"
ssh $1 "cat >> ~/.ssh/authorized_keys2" < ~/.ssh/id_dsa.pub
}

The second copies your local settings to the remote machine. Adapt it to your need. For me the most important settings are those for vi (the .vimrc file).
# Install some basic settings on the remote system for things like zsh, vim,
# and screen. Then, try to change shells.
ssh-installsettings() {
[ -n "$1" ] || {
echo "usage: ssh-installsettings username@host" >&2
return 1
}
scp -r \
.zlogin .zshenv .zshrc \
.vim .vimrc \
.screenrc \
$1:
echo "Attempting to set login shell." >&2
ssh $1 "chsh -s /usr/bin/zsh"
}

From the Linux.com weekly security update - February 10, 2006:

The Linux kernels 2.6.12 through 2.6.15.2 are vulnerable to a Denial of Service (DoS) attack. The problem lies in the ip_options_echo() function in icmp.c, which fails when the kernel responds to an ICMP packet -- i.e., a ping.

» Read More

VMware Inc. announced yesterday the release of VMware Server, a free new entry-level hosted virtualization product for Linux and Windows servers.

VMware Server, the successor to VMware GSX Server, enables users to quickly provision new server capacity by partitioning a physical server into multiple virtual machines, bringing the powerful benefits of virtualization to every server.

While not open-source, this entry-level virtualization server enables users to partition x86 and x86-64 Linux and Windows servers into multiple virtual machines (VMs). Server administrators can either roll their own servers or use such pre-built servers as IBM WSE (Workplace Services Express), MySQL, or Oracle 10G.

» Read More

Jerimy Katz is a Fedora developer. In a post to the fedora-devel-list he said:
Although I hate to do it, it looks like we're going to have to slip Fedora Core 5 test3 by a week. There is an ABI change in the gcc/glibc stack that requires a rebuild of the entire distribution. Given that, there is no way that we'll be able to make a freeze date of Monday. So, test3 will now freeze on Monday, 13 February with a release date of Monday, 20 February.

We'll adjust the final schedule sometime next week based on the progress of the rebuilding efforts.

» Read More

Oleg Romanyshyn has been working as a Linux admin for more than six years, and using Linux for a little longer. Like a lot of Linux administrators, he started with Red Hat, but now he uses Debian stable at work and Gentoo at home. Recently, NewsForge asked readers to "let us know about your most valuable utilities." in his article entitled "My sysadmin toolbox" he gives a list of his most used commands such as vim, man, ssh, rsync, ..etc and furthermore he wrote a perl script to fetch his history file to see what commands he uses most. The script is very simple I give it here:

» Read More

If for some reason you need to see what's running on another user's desktop, when you're both behind the same firewall, VNC is a good solution. But there is a problem when each user is behind different firewalls and you need a secure connection. Rob Reilly demonstrates how to make this secure connection happen when each user is behind different firewalls using VNC while tunneling over SSH.

» Read More

You have a linux box? Then you probably know how to spend time when you have nothing to do. I know that most linux users when they have nothing to do, spend time reading mans or looking in the "bin" folders such as /usr/bin or /bin for a new discovery. The "bin" folders are gold mines for those who want to know more or to find new commands. Since I was at the university, my way is very simple: I open a terminal, I write a random letter and I push the "TAB" key twice and a list of all commands which start with that letter is displayed.

» Read More

Installing linux never has been so easy. HP developed LinuxCOE, where a user could choose some basic options through a web interface, and a small (30MB or less) ISO image is created that can be used for a "hands-free" installation using either Kickstart, AutoYAST, or the Debian Preseed autoinstallers. It is useful when installing in a network environment.

Here is a step by step guide to generate your ISO installer from the web interface:

» Read More

I asked Will linux kernel move to GPL 3? after the start of discussion in the Linux kernel mailing list about adopting the GPL3. And as I said in a previous article developers were divided about the subject.

The final answer to the previous question came in the same mailing list from Linus Torvalds, the creator and the maintainer of Linux kernel. Here is what he says:

» Read More

Never tried Linux before and want to see what it looks like before you jump? LinClips offers screencasting for 15 Linux distributions: Fedora5, Debian, Ubuntu, Slackware, Mandriva, SUSE, CentOS, Kubuntu, KANOTIX, KNOPPIX, PCLinuxOS, SimplyMEPIS, SLAX, VectorLinux and Xandros.

You need a flash player to see the screencasting.

» Read More

The Linux kernel mailing list started discussing about adopting the GPL3. Leading Linux developers are divided on whether Linux kernel should use the GNU General Public License version 3 or not. The discussion is started although the GPL3 is only a draft. The final version should be released in 2007.

Here are the main thoughts from some developers:

» Read More

I have never used KDE. May be because I have never had a problem with my Gnome desktop. I'm not saying that Gnome is more secure than KDE and wasn't happy when the French Security Incident Response Team (FRSIRT) published details about a critical vulnerability in KDE reported by Maksim Orlovich. It's about an incorrect bounds check in kjs, the JavaScript interpreter engine used by Konqueror and other parts of KDE, that allows a heap based buffer overflow when decoding specially crafted UTF-8 encoded URI sequences.

» Read More

If you are a linux programmer, this is for you. Yes, an another good article from IBM entitled "Boost socket performance on Linux" published 3 days ago and updated today(to correct an error in the calculation for Bandwidth Delay Product). The article gives 4 tips to boost the performance of sockets. For each tip there is a description of the problem and then a solution. Here are the 4 tips discussed by the author:

» Read More

BetaNews reported today that Hewlett-Packard plans to sell PCs running Linux across 37 countries in Latin America, and has selected Mandriva to provide the open source operating system. Mandriva says it will work with HP on sales, support and marketing in all Latin American territories, including Brazil, Argentina and Mexico. HP will provide technical support in both Spanish and Portuguese.

This is a great news! For the first time a big company will sell PCs to the public with Linux installed. THIS IS A GOOD NEWS!
Linux kernel version 2.6.15.1 is released 2 days ago after the identification of multiple vulnerabilities in the version 2.6.15 and prior which could be exploited by remote or local attackers to cause a denial of service.

[root@mylinux ~]# uname -a
Linux mylinux.home 2.6.14-1.1656_FC4 #1 ... GNU/Linux

Oooops! >:)

» Read More

A good article by Tom Lynema about building a home media center using linux. In this article Tom describes how he managed to setup a wireless home media center based on Linux without changing his home configuration. He used Linux Ubuntu distribution for that.

» Read More

The Bellevue Linux Users Group has published an article entitled "25 Reasons to Convert to Linux". This is not the first Linux vs. Windows text I saw. There are many threads on the newsnet about the subject, but this is one of the concisely written articles.

If I have to give one reason to use Linux vs. Windows, I'll say: IT'S FREE. You keep your money and you get a better OS, but I think the problem is not there. The real problem is most of the people who use Windows don't even realize there are other operating systems out there.

» Read More

You know probably the good quality of IBM's articles. 2 days ago, IBM has published a new article in the "developerWorks" corner written by Vladimir Silva. In this article, "Secure Java apps on Linux using MD5 crypt", he described the GNU extensions to the crypt() system call and provided an implementation of MD5 crypt for use with Java applications.

» Read More

Although Linux systems are among the most resistant to virus attacks, Grisoft has introduced yesterday a new free ( for home use ) version of its software AVG Anti-Virus specifically for the Linux desktop.

Peter Lipa, President of Grisoft said:
With its growing popularity, it is only a matter of time before the Linux operating system becomes more widely targeted by virus and malware writers

» Read More

Chris Blizzard, manager of Red Hat's desktop group, announced on his blog, ReadHat will include Mono in FC5. Mono is an open source project that implements the Microsoft's .Net and sponsored by Novell.

Mono includes software called the Common Language Runtime to execute programs written in the C# programming language. With Mono, developers can write C# applications for Linux.

» Read More