Public bug reported: Binary package hint: bash
The following piece of code in /etc/bash.bashrc: # sudo hint if [ ! -e $HOME/.sudo_as_admin_successful ]; then case " $(groups) " in *\ admin\ *) if [ -x /usr/bin/sudo ]; then cat <<-EOF To run a command as administrator (user "root"), use "sudo <command>". See "man sudo_root" for details. EOF fi esac fi runs groups, which can run extremely slowly, depending on the infrastructure in place (ldap + nscd or whatever). ** Affects: bash (Ubuntu) Importance: Undecided Status: Unconfirmed -- bashrc running slowly due to $(groups) https://launchpad.net/bugs/66525 -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs