byobu-shell: respect ~/.hushlogin file

Bug #1500109 reported by Will Elwood
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
byobu
Fix Released
Low
Dustin Kirkland 

Bug Description

According to `man login`:
"You may turn off the printing of the system message file, /etc/motd, by creating a zero-length file .hushlogin in your login directory."

The presence of this file is ignored by byobu-shell and the motd is printed regardless of the user's preference.

This was fine and I didn't even notice on Ubuntu since the motd contained useful dynamic information, but I've just installed 5.80 on a FreeBSD-based machine and the motd's just a small wall of text (granted it specifically tells me to edit /etc/motd, but it would be nice if I didn't have to). I know the FreeBSD port is several versions behind, but comparing the relevant code suggests there is still no handling of ~/.hushlogin in the latest version.

Related branches

Revision history for this message
Dustin Kirkland  (kirkland) wrote :

revno: 2456
fixes bug: https://launchpad.net/bugs/1500109
committer: Dustin Kirkland <email address hidden>
branch nick: byobu
timestamp: Thu 2016-01-14 08:52:15 +0200
message:
  * usr/bin/byobu-shell.in: LP: #1500109
    - respect ~/.hushlogin file

Changed in byobu:
importance: Undecided → Low
status: New → In Progress
assignee: nobody → Dustin Kirkland  (kirkland)
status: In Progress → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.