Status changed to 'Confirmed' because the bug affects multiple users. ** Changed in: gnome-terminal (Ubuntu) Status: New => Confirmed
-- You received this bug notification because you are a member of Desktop Packages, which is subscribed to gnome-terminal in Ubuntu. https://bugs.launchpad.net/bugs/1537645 Title: logname returns "logname: no login name" with gnome-terminal Status in gnome-terminal package in Ubuntu: Confirmed Bug description: Logname fails to return a login name in Xenial Unity. I expected it to return my login name (especially when running as "sudo"). Strangely, it works in gnome-shell and mate editions of Xenial. It is only a problem with gnome-terminal. It works in xterm and uxterm and in tty1... Ubuntu Xenial Xerus (development branch) Release 16.04. logname is unique because it returns the underlying username (and not root) when in sudo mode, so this utility is fairly critical and cannot be substituted with whoami or id -un or any other command that I know of. To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/gnome-terminal/+bug/1537645/+subscriptions -- Mailing list: https://launchpad.net/~desktop-packages Post to : desktop-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~desktop-packages More help : https://help.launchpad.net/ListHelp