Posts for: #Ubuntu

console=ttyS0 with grub2

Just a quick note so I don’t forget now to enable console logging on systems running grub2 (like Ubuntu 10.04, Lucid).

  • edit /etc/default/grub
    • set GRUB_CMDLINE_LINUX to "console=ttyS0,115200n8 console=tty0"
  • run update-grub
  • reboot

( more info can be found here )

Read more →

vmlinux on Ubuntu

If you’re trying to do post-mortem analysis on a crashed river, or trying to find kernel-level bottlenecks with oprofile, you need the decompressed kernel w/ debug symbols. This comes in a form of a vmlinux file. Some distributions ship debuginfo packages, namely RHEL. On Ubuntu this seems lacking.

Read more →

Authenticating Linux against OSX LDAP directory

I was recently asked by a colleague, and now also a client, to look over the [LDAP]{tag/ldap} configuration on his Ubuntu boxen. He was having issues with the root account. The problem turned out being that the Ubuntu box was trying to get the root authentication from LDAP. It successfully found an LDAP account on the OSX LDAP server, but was unable to login since that account is disabled. The solution was to filter out the root account from the LDAP reply using the pam_filter directive in /etc/ldap.conf. Jay was also kind enough to document his setup for others that are trying to accomplish a similar task.

Read more →