Categories

A sample text widget

Etiam pulvinar consectetur dolor sed malesuada. Ut convallis euismod dolor nec pretium. Nunc ut tristique massa.

Nam sodales mi vitae dolor ullamcorper et vulputate enim accumsan. Morbi orci magna, tincidunt vitae molestie nec, molestie at mi. Nulla nulla lorem, suscipit in posuere in, interdum non magna.

VMware ESXi: howto remove the last snapshot

Tweet

Sometimes we need to create a snapshot in VMware ESXi (e.g. for backup purposes) and delete it right afterwards. This kind of operations are usually performed with shell scripts. In this post, I will explain how to remove the last snapshot using the command line.

You can specify the snapshot you want to . . . → Read More: VMware ESXi: howto remove the last snapshot

VMware ESXi: howto wait for commands to complete (e.g. create snapshot)

Tweet

In VMware ESXi, you have blocking and non-blocking tasks. When creating scripts to execute non-blocking tasks, it may be useful to wait for non-blocking commands to complete. This can be done by looking to the task list in the command line.

As an example, I used one of the harmless tasks in VMware: . . . → Read More: VMware ESXi: howto wait for commands to complete (e.g. create snapshot)

vmktree: disable root ssh password logins in VMware ESXi 4.1

Tweet

vmktree is a free web tool that shows you the graphs of resource usage of VMware ESX Server, VMware Server (on Linux), GSX Server (on Linux) and a few other data center devices (ilo/ilo2/rsa2/ds4000).

Currently, it is not possible to use vmktree with a VMware ESXi 4.1 host with ssh root logins disabled. . . . → Read More: vmktree: disable root ssh password logins in VMware ESXi 4.1

VMware ESXi: always keep another Administrator user other than root

Tweet

I had to assign permissions to group “root” as a host Administrator of my ESXi. I was a little bit distracted and assigned the “Read-only” role to group “root” instead of role “Administrator”. As a side effect, user “root” got read-only permissions!

User “dcui” is Administrator by default, so we can use it . . . → Read More: VMware ESXi: always keep another Administrator user other than root

Selectively allow SSH for users in VMware ESXi

Tweet

In another post, I explained how to disable root ssh login and allow regular users to login to the ESXi. It is also possible to selectively allow SSH for a particular set of users.

Create the security map

We need to create a map file to specify how to authenticate (or deny) users.

. . . → Read More: Selectively allow SSH for users in VMware ESXi

SSH with non-root users in VMware ESXi

Tweet

The default configuration in VMware ESXi 4.1 allows ssh login only for root. On the other hand, preventing root ssh login is part of any OS hardening checklist. In this article, I will explain how to access an ESXi server with non-root users and how to prevent root ssh login.

I’ll show how . . . → Read More: SSH with non-root users in VMware ESXi

SSH client in VMware ESXi 4.1

Tweet

By default, the “ssh” command does not exist in ESXi 4.1.

To create it, login as root and execute the following command:

ln -s /sbin/dropbearmulti /bin/ssh

Now you have the ssh client available from the command line.

VMware server 2.0.2 on Ubuntu 10.04

Tweet

Though Ubuntu is not officially supported as a VMware server host, it is very easy to install VMware server using the instructions provided in this page.

You will need to register with VMware to be able to download the software and to receive via e-mail the information required to get the licenses.

The . . . → Read More: VMware server 2.0.2 on Ubuntu 10.04