Preloader image
Side Menu
Blog
135
blog,satellite-core-1.0.7,satellite-theme-ver-3.2,ajax_fade,page_not_loaded,smooth_scroll

How to expand a UNIX group and list all of its members

Recently, I needed a way to show all of the members of a UNIX group.  I’m in the process of writing a sudoers parser and this functionality was needed to show which users could actually run which commands as which users.  After doing some internet research, I came across the following link: http://stackoverflow.com/questions/2835368/how-to-list-all-users-in-a-linux-group. Though it worked, it relied on UNIX commands to build the hash, getent and id.  It was very slow.  The function below…

Why virtualize?

The concept of installing an operating system onto a server is very easy to understand, especially for those of us with years of systems administration experience.  Tracing issues and analyzing hardware and infrastructure components is facilitated by the direct interaction of the OS and kernel with the hardware. Why would I want a layer between my OS and my server? Why virtualize? Many advantages include the following: Reduce the overall physical footprint in the data…