content top

History

History

A history file on Linux is one of the important files for the Audit Trail. But there are some complications with it if you use the Red Hat standards. Here i’m going to explain how a simple script can make your life much easier later. Timestamps First of all if you check a history file, you do not know at what date / time a user executed a specific command. So that last shutdown -r you see might be the reason you server went down....

Read More

Steam

Steam

Onlangs wilde ik een spel kopen en ging ik naar Steam, alleen ging ik via mijn werk. En deze wordt schijnbaar gerouteerd via de UK. Het resultaat hiervan is dat ik alle prijzen in ponden zag staan. En in GBP is de prijs goedkoper dan in euro. Uiteraard was dit nu een uitdaging om de prijzen in dollars te krijgen. En dat was uiteindelijk niet zo heel moeilijk, via Amazon Elastic Compute Cloud (Amazon EC2) kan je namelijk on-demand VPS...

Read More

pxelinux and Windows

pxelinux and Windows

Installing RedHat / Fedora / CentOS over the network using pxelinux is pretty straightforward. But installing Windows with pxelinux is a bit harder (what a suprise…) Setup My setup contains the following systems: Windows 7 (x64) CentOS 6 (x64) 1 VM running on VMware Workstation, able to boot from the same network as CentOS 6 server Preparing an Windows PE image First you need a valid Windows P(re) E(xecute) image, this requires...

Read More

Restricted shell with OpenSSH

Restricted shell with OpenSSH

If you need to have users that can download or upload files to your server but over an encrypted (SSH) protocol you quickly end up with scp or sftp. The bad thing about this is that it requires an account, with actually a shell. What if you don’t want them give a shell, and if we are at it we also want to give that user a chrooted / jailed environment. With my search I ended up with rssh. This application gives you the possibility to...

Read More

CentOS 6 & XenServer

CentOS 6 & XenServer

Well CentOS 6 is out for some days now, and I wanted to update to it. Updating through yum wasn’t as easy as I was hoping, just pointing to the 6 repository and do yum update… too bad doesn’t work [root@www ~]# cd /etc/yum.repos.d/ [root@www yum.repos.d]# perl -pi -e 's/gpgcheck\s*=\s*1/gpgcheck=0/' *.repo [root@www yum.repos.d]# yum clean all [root@www yum.repos.d]# perl -pi -e 's/\$releasever/6/g' *.repo [root@www...

Read More
Page 1 of 1012345...10...Last »
content top