Package: bash
Version: 3.1dfsg-8
Severity: normal

If a user is not listed in /etc/passwd, because it is read from 
LDAP, the default PS1 prompt variable \u does not work, showing 'I have 
no name!' instead of the username.  Commands such as 'ls -l' and 
'whoami' show the correct username.

Default: PS1='[EMAIL PROTECTED]:\w\$ '

Using LOGNAME instead of \u works.

Solution: PS1='[EMAIL PROTECTED]:\w\$ '

-- System Information:
Debian Release: 4.0
  APT prefers stable
  APT policy: (500, 'stable')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.18-6-xen-vserver-686
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)

Versions of packages bash depends on:
ii  base-files             4                 Debian base system miscellaneous f
ii  debianutils            2.17              Miscellaneous utilities specific t
ii  libc6                  2.3.6.ds1-13etch5 GNU C Library: Shared libraries
ii  libncurses5            5.5-5             Shared libraries for terminal hand

bash recommends no packages.

-- no debconf information



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to