** Description changed:

- Logname only displays this problem in Xenial Unity.  I expected it to
- return my login name.  It works in gnome-shell and mate editions of
- Ubuntu. Only a problem with gnome-terminal.  It works in xterm and
- uxterm and in tty1.
+ 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.
  
- Ubuntu Xenial Xerus (development branch)  Release 16.04
+ 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.

-- 
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:
  New

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     : [email protected]
Unsubscribe : https://launchpad.net/~desktop-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to