[Bug 1537645] Re: logname returns "logname: no login name" with gnome-terminal

2016-11-14 Thread Tres Finocchiaro
For those looking for an alternative to logname, $SUDO_USER works pretty
well.  http://askubuntu.com/a/849469/412004

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1537645

Title:
  logname returns "logname: no login name" with gnome-terminal

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/gnome-terminal/+bug/1537645/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1537645] Re: logname returns "logname: no login name" with gnome-terminal

2016-03-30 Thread Rael
If I correctly understood, based on the link pasted by Edgmont, gnome
terminal is no more writing a utmp entry when called as a login shell.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1537645

Title:
  logname returns "logname: no login name" with gnome-terminal

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/gnome-terminal/+bug/1537645/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1537645] Re: logname returns "logname: no login name" with gnome-terminal

2016-03-30 Thread Launchpad Bug Tracker
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 Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1537645

Title:
  logname returns "logname: no login name" with gnome-terminal

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/gnome-terminal/+bug/1537645/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1537645] Re: logname returns "logname: no login name" with gnome-terminal

2016-03-23 Thread Justin Luth
** 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 Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1537645

Title:
  logname returns "logname: no login name" with gnome-terminal

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/gnome-terminal/+bug/1537645/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1537645] Re: logname returns "logname: no login name" with gnome-terminal

2016-01-25 Thread Egmont Koblinger
See https://bugzilla.gnome.org/show_bug.cgi?id=747046


** Bug watch added: GNOME Bug Tracker #747046
   https://bugzilla.gnome.org/show_bug.cgi?id=747046

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1537645

Title:
  logname returns "logname: no login name" with gnome-terminal

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/gnome-terminal/+bug/1537645/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs