diff -Nru byobu-3.12/debian/changelog byobu-3.13/debian/changelog --- byobu-3.12/debian/changelog 2010-11-28 02:45:01.000000000 -0500 +++ byobu-3.13/debian/changelog 2010-11-28 02:43:00.000000000 -0500 @@ -1,3 +1,9 @@ +byobu (3.13-0ubuntu1) natty; urgency=low + + * Use getent instead of reading /etc/passwd directly. (LP: #682296) + + -- Anders Kaseorg Sun, 28 Nov 2010 02:42:25 -0500 + byobu (3.12-0ubuntu1) natty; urgency=low * etc/update-motd.d/55-window-manager: LP: #681616, fix printing of the diff -Nru byobu-3.12/usr/bin/byobu-launcher-install byobu-3.13/usr/bin/byobu-launcher-install --- byobu-3.12/usr/bin/byobu-launcher-install 2010-11-22 15:16:48.000000000 -0500 +++ byobu-3.13/usr/bin/byobu-launcher-install 2010-11-28 02:41:50.000000000 -0500 @@ -45,7 +45,9 @@ fi # Install in zprofile if default shell is zsh -if grep -qs "^$USER:.*zsh$" /etc/passwd; then - install_launcher "$HOME/.zprofile" -fi +case "$SHELL" in + *zsh) + install_launcher "$HOME/.zprofile" + ;; +esac diff -Nru byobu-3.12/usr/lib/byobu/whoami byobu-3.13/usr/lib/byobu/whoami --- byobu-3.12/usr/lib/byobu/whoami 2010-11-22 15:16:48.000000000 -0500 +++ byobu-3.13/usr/lib/byobu/whoami 2010-11-28 02:35:06.000000000 -0500 @@ -20,7 +20,7 @@ color 2>/dev/null || color() { true; } if [ "$1" = "--detail" ]; then - grep "^$USER:" /etc/passwd + getent -- passwd "$USER" exit 0 fi