Putting ‘lsof’ to use
- Apr
- 19
- Posted by TKH Specialist
- Posted in redhat, Security, System Administration
- 3
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 moreChanging the Volume Group Name
- Apr
- 15
- Posted by TKH Specialist
- Posted in LVM, redhat
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 moreExtended ACLs
- Mar
- 19
- Posted by TKH Specialist
- Posted in redhat
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 moreFixing Authentication refused: bad ownership or modes for directory
- Mar
- 14
- Posted by TKH Specialist
- Posted in redhat
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 moreLightweight ‘Kite’ tablet runs Ubuntu 12.04
- Jan
- 17
- Posted by TKH Specialist
- Posted in Tech News
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 moreFedora Linux Lets You Choose Your Own GUI Adventure
- Jan
- 15
- Posted by TKH Specialist
- Posted in Tech News
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 moreX11 error on login to RedHat Servers
- Dec
- 21
- Posted by TKH Specialist
- Posted in redhat
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 moreExternal Mapping of LDAP attributes in CAS
- Oct
- 31
- Posted by TKH Specialist
- Posted in linux
- 2
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 moreLinus Torvalds: Windows 8 Secure Boot Doesn’t Destroy Linux
- Jun
- 12
- Posted by TKH Specialist
- Posted in Tech News
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 moreRecent Comments
- Stefan on Flush This!
- Timestamping your Bash History | Matt's Entropy on Remember when you issued that command…?
- Matt Smith on Remember when you issued that command…?
- Ruan on Putting ‘lsof’ to use
- Dylan F. Marquis on External Mapping of LDAP attributes in CAS
