Subject: bug#19927: 24.4.90; su command in *shell* buffer does not work

From: 白井彰 <[email-masked]>
Date: Tue, 24 Feb 2015 01:40:57 +0900

su command in *shell* buffer does not work.
su does not ask for the password and exits with "su: Sorry".
The value of process-connection-type variable is t.
There are no .zshenv, .zprofile, .zshrc, .zlogin, .zlogout, .cshrc and .login.

1. emacs -Q
2. M-x shell

/* *shell* buffer (24.4.90) */
Warning: no access to tty; thus no job control in this shell...
yokohama% su
su: Sorry
yokohama%

In GNU Emacs 24.4.90.1 (i386-pc-solaris2.10, X toolkit, Xaw scroll bars)
 of 2015-02-23 on yokohama
Windowing system distributor `Colin Harrison', version 11.0.60900031
Configured using:
 `configure --prefix=/Users/shiraiakira/emacs-24.4.90 --with-x
 --x-includes=/usr/dt/include:/usr/openwin/include:/Users/shiraiakira/xpm/include:/Users/shiraiakira/jpeg/include:/Users/shiraiakira/zlib/include:/Users/shiraiakira/libpng/include:/Users/shiraiakira/libungif/include:/Users/shiraiakira/tiff/include
 --x-libraries=/usr/dt/lib:/usr/openwin/lib:/Users/shiraiakira/xpm/lib:/Users/shiraiakira/jpeg/lib:/Users/shiraiakira/zlib/lib:/Users/shiraiakira/libpng/lib:/Users/shiraiakira/libungif/lib:/Users/shiraiakira/tiff/lib
 --with-tiff=no --with-jpeg=no --without-compress-install'

Important settings:
  value of $LANG: C
  locale-coding-system: nil

Major mode: Shell

Minor modes in effect:
  shell-dirtrack-mode: t
  tooltip-mode: t
  electric-indent-mode: t
  mouse-wheel-mode: t
  tool-bar-mode: t
  menu-bar-mode: t
  file-name-shadow-mode: t
  global-font-lock-mode: t
  font-lock-mode: t
  blink-cursor-mode: t
  auto-composition-mode: t
  auto-encryption-mode: t
  auto-compression-mode: t
  line-number-mode: t
  transient-mark-mode: t

Recent messages:
For information about GNU Emacs and the GNU system, type C-h C-a.

Load-path shadows:
None found.

Features:
(shadow sort gnus-util mail-extr emacsbug message format-spec rfc822 mml
easymenu mml-sec mm-decode mm-bodies mm-encode mail-parse rfc2231
mailabbrev gmm-utils mailheader sendmail rfc2047 rfc2045 ietf-drums
mm-util help-fns mail-prsvr mail-utils shell pcomplete comint ansi-color
ring time-date tooltip electric uniquify ediff-hook vc-hooks
lisp-float-type mwheel x-win x-dnd tool-bar dnd fontset image regexp-opt
fringe tabulated-list newcomment lisp-mode prog-mode register page
menu-bar rfn-eshadow timer select scroll-bar mouse jit-lock font-lock
syntax facemenu font-core frame cham georgian utf-8-lang misc-lang
vietnamese tibetan thai tai-viet lao korean japanese hebrew greek
romanian slovak czech european ethiopic indian cyrillic chinese
case-table epa-hook jka-cmpr-hook help simple abbrev minibuffer nadvice
loaddefs button faces cus-face macroexp files text-properties overlay
sha1 md5 base64 format env code-pages mule custom widget
hashtable-print-readable backquote make-network-process dynamic-setting
x-toolkit x multi-tty emacs)

Memory information:
((conses 8 77824 7776)
 (symbols 24 17811 0)
 (miscs 20 47 178)
 (strings 16 12096 3717)
 (string-bytes 1 330512)
 (vectors 8 9639)
 (vector-slots 4 388894 5895)
 (floats 8 61 263)
 (intervals 28 986 1632)
 (buffers 512 12))