I had a trouble with a Linux box after we lost access to our storage array, the system switched to a read only file system. Everything stopped working, no command was recognized, no possibility to remount the file system in RW. After a reboot, some LV got in inactive status and no file system mounted.
Almost everyone in the technical field is comfortable with using the English language for their daily tasks. As you know, managing future version of VMware vSphere will only be possible with the Web Client. If you have already used the old trick to change the language of the java vSphere client like this: “C:\Program Files\VMware\Infrastructure\Virtual
While experimenting with the vSphere API using the Python pyvmomi SDK, I was wondering if there is any way to test guest credentials after I have reset a user password, so the main idea is to automate all the process of resetting the root password on a linux virtual machine. If you haven’t read my
Let’s take the linux shadow file as an example. Using sed you can replace the root user password with an empty character. Suppose your /etc/shadow file look like this: [root@localhost ~]# cat /etc/shadow root:$6$GE3JYGgDvt5jloXN$l0cNhqsh8564GHsdSgUGz79Cqm2ml.Q0xmtgSDyUVdJRHrgFIWPd0QKB02RedspqunU4yYS0/xDI0fcZgEGt.::0:99999:7::: You can use the following sed command to replace the root password string between the two semicolon with an empty string.
I was working on my CentOS 7 box to get familiar with some new functionalities, as you know RHEL 7 and CentOS 7 come with many changes in many aspect. To have a quick reference for many of this changes, I will try to document some basic command on managing my system, so let start
Configuring central logging is one of many important thing that you should configure to secure your system, it allow you to have an exact timeline in case of an incident or for troubleshooting reason. I was in the process of configuring some machines to send their logs to a remote system, the thing is that
AutoRoot will scan for any logical volume containing the word root or for block devices starting from /dev/sda1…/dev/sda10, /dev/sdb1…/dev/sdb10, /dev/sdc1…/dev/sdc10, it will then try to mount the volume and check for the password file,if found, it will change the root password to: vNugget.com This started as a simple exercise to get familiar with the python
ViewVmEvents is a python script that can be used to view a specific event related to a VMware virtual machine. The events type can be one of the following: Reboot, Shutdown or Standby. I was experimenting with the Pyvmomi SDK for the VMware vSphere API, on how I can quickly view a virtual machine event without going
A lot of things can cause this behavior, in my case, when I tried to create a Fabric Groups, the compute resources didn’t show! The logs in vRealize Automation appliance (v7.0.1) show the following error in Infrastructure => Monitoring => Log: This exception was caught: The attached endpoint ‘vCenter’ cannot be found. The first thing
I was experimenting with the VMware Web service SDK using pyVmomi and I got some error that need to be documented her. I’m using pyVmomi 6.0.0 in a vSphere 6 environment. The first one was an SSL warning when using pyVmomi to acquire a service instance, if you try to use SmartConnect you will get the