Putting ‘lsof’ to use

lsof is a powerful tool that has proven very userful over the years in troubleshooting and forensic investigations.  Here are some useful lsof command examples: In this example we are looking at all the files a given process has open (pid=1655 here this is the zabbix agent) lsof -p 1767 Note you can clean up […]

read more

Changing the Volume Group Name

One of the problems with cloning a system is that it has the same volume group names as the server it was cloned from.  Not a huge problem but it can limit your ability to leverage the volume group.  The fix appears easy but there is a gotcha. RedHat provides a nice utility: vgrename If […]

read more

Extended ACLs

To remove permanently ACL from a file: # setfacl -bn file.txt To remove permanently ACL from an entire directory: # setfacl -b –remove-all directory.name To overwrite permissions, setting them to rw for files and rwx for dirs $ find . ( -type f -exec setfacl -m g:mygroup:rw ‘{}’ ‘;’ ) -o ( -type d -exec […]

read more

Fixing Authentication refused: bad ownership or modes for directory

When this error: Authentication refused: bad ownership or modes for directory Shows up in /var/log/messages When trying to setup public key authenticated automatic logins, the problem is a permissions one. You’ll need to perform the following commands on the user account you are trying to setup: chmod go-w ~/ chmod 700 ~/.ssh chmod 600 ~/.ssh/authorized_keys

read more

Lightweight ‘Kite’ tablet runs Ubuntu 12.04

There’s no shortage of Android tablets in the marketplace today, but devices that run Ubuntu Linux are still much harder to come by. Canonical’s own mobile plans are still a work in progress, of course, but on Monday an intriguing new contender popped up on Notebook Italia and then Engadget. Specifically, the new “Nibbio,” or […]

read more

Fedora Linux Lets You Choose Your Own GUI Adventure

Linux fans hope that the interface changes in Windows 8 will drive more users to Linux. But the open source operating system is facing interface challenges of its own. Part of the problem is that — after so much controversy within the Linux community — there are so many interfaces to chose from. But the […]

read more

X11 error on login to RedHat Servers

I noticed that since the last set of patches many of my redhat 6 systems are reporting an X11 forwarding error after login: X11 forwarding request failed on channel 0 To correct this problem you need to install the following package yum install xorg-x11-xauth I have not had the time to investigate why this is […]

read more

External Mapping of LDAP attributes in CAS

One of the features that is attractive about CAS is it’s ability to pass LDAP attributes to a specified application via SAML. This functionality is starting to become more heavily used by our web developers, creating demand for more and more attributes to mapped. An issue arose from this; CAS must be rebuilt every time […]

read more

Linus Torvalds: Windows 8 Secure Boot Doesn’t Destroy Linux

Many Linux lovers are worried that Microsoft’s new Secure Boot technology will make it more difficult to get the open source operating system onto machines that originally ship with Windows 8. … When Microsoft first unveiled its unified extensible firmware interface, or UEFI, many complained that it would keep Linux off of machines that originally […]

read more