sudo hint of /etc/bash.bashrc does not respect ~/.hushlogin

Bug #672496 reported by Giorgos Keramidas
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
bash (Ubuntu)
Fix Released
Undecided
Unassigned

Bug Description

Binary package hint: bash

The default sudo hint of /etc/bash.bashrc displays a tip about "sudo -i" even when ~/.hushlogin exists. Users who manually create a .hushlogin file in their home directory are probably acquainted with sudo already, so we should check for the file and skip the hint at shell startup time.

ProblemType: Bug
DistroRelease: Ubuntu 10.04
Package: bash 4.1-2ubuntu3
ProcVersionSignature: Ubuntu 2.6.32-25.45-generic 2.6.32.21+drm33.7
Uname: Linux 2.6.32-25-generic x86_64
Architecture: amd64
Date: Mon Nov 8 12:10:00 2010
ProcEnviron:
 SHELL=/bin/bash
 PATH=(custom, user)
 LANG=en_US.UTF-8
 LANGUAGE=en_US
SourcePackage: bash

Related branches

Revision history for this message
Giorgos Keramidas (keramida) wrote :
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package bash - 4.2-0ubuntu4

---------------
bash (4.2-0ubuntu4) oneiric; urgency=low

  * Apply upstream patches:
    - 009: Fix segfault running `fc -l' two times in succession.
    - 010: Correctly print/reproduce here documents attached to commands
      inside compound commands.
  * Fix parsing of double doublequotes. LP: #780441.
  * /etc/bash.bashrc:
    - Fix quoting issue calling command-not-found. LP: #754859. Closes: #587185.
    - For .hushlogin file for sudo hint. LP: #672496.
  * Don't cache the value of brk between sbrk calls (Samuel Thibault).
    Closes: #614815.
 -- Matthias Klose <email address hidden> Wed, 18 May 2011 10:56:41 +0200

Changed in bash (Ubuntu):
status: New → 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.