GNU bug report logs -
#19191
24.4; su command in *shell* buffer does not work
Previous Next
Reported by: 白井彰 <okshirai <at> gmail.com>
Date: Wed, 26 Nov 2014 10:02:02 UTC
Severity: normal
Merged with 19927,
20555,
20686
Found in versions 24.4, 24.4.90
Done: Paul Eggert <eggert <at> cs.ucla.edu>
Bug is archived. No further changes may be made.
To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 19191 in the body.
You can then email your comments to 19191 AT debbugs.gnu.org in the normal way.
Toggle the display of automated, internal messages from the tracker.
Report forwarded
to
bug-gnu-emacs <at> gnu.org
:
bug#19191
; Package
emacs
.
(Wed, 26 Nov 2014 10:02:02 GMT)
Full text and
rfc822 format available.
Acknowledgement sent
to
白井彰 <okshirai <at> gmail.com>
:
New bug report received and forwarded. Copy sent to
bug-gnu-emacs <at> gnu.org
.
(Wed, 26 Nov 2014 10:02:02 GMT)
Full text and
rfc822 format available.
Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):
su command in *shell* buffer does not work.
su does not ask for the password and exits with "su: Sorry".
/* *shell* buffer (24.4) */
Warning: no access to tty; thus no job control in this shell...
yokohama% su
su: Sorry
yokohama%
su in *shell* buffer works well on emacs-24.3.
/* *shell* buffer (24.3) */
yokohama% su
Password:
# exit
yokohama%
In GNU Emacs 24.4.1 (i386-pc-solaris2.10, X toolkit, Xaw scroll bars)
of 2014-10-23 on yokohama
Windowing system distributor `Sun Microsystems, Inc.', version 11.0.6410
Configured using:
`configure --prefix=/Users/shiraiakira/i386/emacs-24.4 --with-x
--x-includes=/usr/dt/include:/usr/openwin/include:/Users/shiraiakira/xpm/i386/include:/Users/shiraiakira/i386/jpeg/include:/Users/shiraiakira/i386/zlib/include:/Users/shiraiakira/i386/libpng/include:/Users/shiraiakira/i386/libungif/include:/Users/shiraiakira/i386/tiff/libtiff
--x-libraries=/usr/dt/lib:/usr/openwin/lib:/Users/shiraiakira/xpm/i386/lib:/Users/shiraiakira/i386/jpeg/lib:/Users/shiraiakira/i386/zlib/lib:/Users/shiraiakira/i386/libpng/lib:/Users/shiraiakira/i386/libungif/lib:/Users/shiraiakira/i386/tiff/libtiff
--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 input:
M-x s h e l l <return> s u <return> M-x r e p o r t
<return>
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 77649 4073)
(symbols 24 17821 0)
(miscs 20 43 185)
(strings 16 13260 3813)
(string-bytes 1 362635)
(vectors 8 9635)
(vector-slots 4 388469 2228)
(floats 8 61 197)
(intervals 28 976 1434)
(buffers 512 12))
Information forwarded
to
bug-gnu-emacs <at> gnu.org
:
bug#19191
; Package
emacs
.
(Wed, 26 Nov 2014 11:14:01 GMT)
Full text and
rfc822 format available.
Message #8 received at 19191 <at> debbugs.gnu.org (full text, mbox):
白井彰 <okshirai <at> gmail.com> writes:
> /* *shell* buffer (24.4) */
> Warning: no access to tty; thus no job control in this shell...
This is likely your problem. What do you get if you execute this
command in this shell:
ls -l $(tty)
Andreas.
--
Andreas Schwab, schwab <at> linux-m68k.org
GPG Key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5
"And now for something completely different."
Information forwarded
to
bug-gnu-emacs <at> gnu.org
:
bug#19191
; Package
emacs
.
(Thu, 27 Nov 2014 16:34:01 GMT)
Full text and
rfc822 format available.
Message #11 received at 19191 <at> debbugs.gnu.org (full text, mbox):
echo $(tty) says:
not a tty /* 24.4 */
/dev/pts/15 /* 24.3 */
/* 24.4 */
oomiya% telnet yokohama
yokohama% setenv DISPLAY oomiya:0.0
yokohama% i386/emacs-24.4/bin/emacs &
M-x shell
/* *shell* buffer (24.4) */
yokohama% ls -l $(tty)
not: No such file or directory
a: No such file or directory
tty: No such file or directory
yokohama% echo $(tty)
not a tty
yokohama% who am i
Must be attached to terminal for 'am I' option
yokohama% w
9:26am up 115 day(s), 32 min(s), 8 users, load average: 3.02, 3.04, 3.06
User tty login@ idle JCPU PCPU what
shirai pts/17 9:13am 13 38 38 w
yokohama% ps -ef | grep emacs
shirai 3308 3285 0 09:14:19 pts/17 0:39 i386/emacs-24.4/bin/emacs
shirai 3178 1 0 09:11:12 ? 0:15 i386/emacs-24.3/src/emacs
shirai 3670 3410 0 09:27:19 ? 0:00 grep emacs
yokohama% ptree 3308
360 /usr/lib/inet/inetd start
3259 /usr/sbin/in.telnetd
3262 -csh
3285 csh
3308 i386/emacs-24.4/bin/emacs
3410 /bin/zsh -i
3672 ptree 3308
yokohama% ps -efl | sort | nawk '{if ($4 ~ /360|3259|3262|3285|3308|3410|3672/) {print $0}}'
0 S root 360 1 0 40 20 ? 2183 ? Aug 04 ? 0:49 /usr/lib/inet/inetd start
0 S root 3259 360 0 40 20 ? 936 ? 09:13:52 ? 0:00 /usr/sbin/in.telnetd
0 S shirai 3262 3259 0 40 20 ? 1140 ? 09:13:52 pts/17 0:00 -csh
0 S shirai 3285 3262 0 40 20 ? 597 ? 09:14:05 pts/17 0:00 csh
0 O shirai 3308 3285 0 40 20 ? 18970 09:14:19 pts/17 0:39 i386/emacs-24.4/bin/emacs
0 S shirai 3410 3308 0 70 20 ? 927 ? 09:17:45 ? 0:00 /bin/zsh -i
yokohama% tail -1 /var/adm/messages
Nov 27 11:59:20 yokohama su: [ID 810491 auth.crit] 'su root' failed for shirai on /dev/???
/* 24.3 */
oomiya% telnet yokohama
yokohama% setenv DISPLAY oomiya:0.0
yokohama% i386/emacs-24.3/src/emacs &
M-x shell
/* *shell* buffer (24.3) */
yokohama% ls -l $(tty)
lrwxrwxrwx 1 root root 29 Jul 26 2012 /dev/pts/15 -> ../../devices/pseudo/pts <at> 0:15
yokohama% echo $(tty)
/dev/pts/15
yokohama% who am i
shirai /dev/pts/15 Nov 27 09:29
yokohama% w
9:29am up 115 day(s), 35 min(s), 8 users, load average: 3.02, 3.03, 3.05
User tty login@ idle JCPU PCPU what
shirai pts/9 Tue 6pm 31:30 49:47 csh
yokohama% ps -ef | grep emacs
shirai 3308 3285 0 09:14:19 pts/17 0:39 i386/emacs-24.4/bin/emacs
shirai 3178 1 0 09:11:12 ? 0:15 i386/emacs-24.3/src/emacs
shirai 3727 3198 0 09:30:12 pts/15 0:00 grep emacs
yokohama% ptree 3178
3178 i386/emacs-24.3/src/emacs
3198 /bin/zsh -i
3740 ptree 3178
yokohama% ps -efl | sort | nawk '{if ($4 ~ /3178|3198|3740/) {print $0}}'
0 O shirai 3178 1 0 40 20 ? 19270 09:11:12 ? 0:15 i386/emacs-24.3/src/emacs
0 S shirai 3198 3178 0 70 20 ? 927 ? 09:11:35 pts/15 0:00 /bin/zsh -i
Information forwarded
to
bug-gnu-emacs <at> gnu.org
:
bug#19191
; Package
emacs
.
(Thu, 27 Nov 2014 17:15:03 GMT)
Full text and
rfc822 format available.
Message #14 received at 19191 <at> debbugs.gnu.org (full text, mbox):
白井彰 <okshirai <at> gmail.com> writes:
> echo $(tty) says:
>
> not a tty /* 24.4 */
That's your problem. What is the value of the process-connection-type
variable?
Andreas.
--
Andreas Schwab, schwab <at> linux-m68k.org
GPG Key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5
"And now for something completely different."
Information forwarded
to
bug-gnu-emacs <at> gnu.org
:
bug#19191
; Package
emacs
.
(Fri, 28 Nov 2014 09:26:02 GMT)
Full text and
rfc822 format available.
Message #17 received at 19191 <at> debbugs.gnu.org (full text, mbox):
Its value is t
Information forwarded
to
bug-gnu-emacs <at> gnu.org
:
bug#19191
; Package
emacs
.
(Sat, 06 Dec 2014 11:16:02 GMT)
Full text and
rfc822 format available.
Message #20 received at 19191 <at> debbugs.gnu.org (full text, mbox):
"su: Sorry" occurs on my Solaris 10 and Solaris 8 machine even when
emacs -Q and zsh without .zshenv, .zprofile, .zshrc, .zlogin, and
.zlogout, csh without .cshrc and .login.
Merged 19191 19927.
Request was from
Glenn Morris <rgm <at> gnu.org>
to
control <at> debbugs.gnu.org
.
(Tue, 24 Feb 2015 18:01:03 GMT)
Full text and
rfc822 format available.
Information forwarded
to
bug-gnu-emacs <at> gnu.org
:
bug#19191
; Package
emacs
.
(Mon, 16 Mar 2015 16:37:02 GMT)
Full text and
rfc822 format available.
Message #25 received at 19191 <at> debbugs.gnu.org (full text, mbox):
"su: Sorry" also occurs on Emacs 24.4.91.
Information forwarded
to
bug-gnu-emacs <at> gnu.org
:
bug#19191
; Package
emacs
.
(Mon, 30 Mar 2015 17:10:02 GMT)
Full text and
rfc822 format available.
Message #28 received at 19191 <at> debbugs.gnu.org (full text, mbox):
"su: Sorry" also occurs on emacs-24.5-rc1.
Information forwarded
to
bug-gnu-emacs <at> gnu.org
:
bug#19191
; Package
emacs
.
(Mon, 30 Mar 2015 17:23:02 GMT)
Full text and
rfc822 format available.
Message #31 received at 19191 <at> debbugs.gnu.org (full text, mbox):
> From: 白井彰 <okshirai <at> gmail.com>
> Date: Tue, 31 Mar 2015 02:08:51 +0900
> Cc: Akira Shirai <okshirai <at> gmail.com>
>
> "su: Sorry" also occurs on emacs-24.5-rc1.
You need to find out why the shell's TTY is not a PTY device on your
system. As Andreas pointed out, this is the reason for the problem.
Information forwarded
to
bug-gnu-emacs <at> gnu.org
:
bug#19191
; Package
emacs
.
(Wed, 01 Apr 2015 11:55:02 GMT)
Full text and
rfc822 format available.
Message #34 received at 19191 <at> debbugs.gnu.org (full text, mbox):
Today I tried to find out why the shell's TTY is not a PTY device on
my system. I tried the following:
1. Remove my .cshrc and .login.
2. Logout and login, and launch a terminal emulator (dtterm)
on X Window System in my Solaris 10 system (i386-pc-solaris2.10).
3. On the terminal emulator, I type the following:
set path = (/usr/bin . /usr/ccs/bin)
gzcat emacs-24.3.tar.gz | tar xfp -
(cd emacs-24.3; ./configure --with-jpeg=no --with-gif=no; make)
(cd emacs-24.3/src; ./emacs -Q)
M-x shell
% su
Password: ********
#
=> su command in *shell* buffer works well.
C-x C-c
4. Then I type the following on the same terminal emulator:
gzcat emacs-24.4.tar.gz | tar xfp -
(cd emacs-24.4; ./configure --with-jpeg=no --with-gif=no; make)
(cd emacs-24.4/src; ./emacs -Q)
M-x shell
Warning: no access to tty; thus no job control in this shell...
% su
su: Sorry
%
=> su command in *shell* buffer does not work.
su does not ask for the password and exits with "su: Sorry".
I would like to know how I can proceed.
Thanks.
> 2015/03/31 2:22、Eli Zaretskii <eliz <at> gnu.org> のメール:
>
>> From: 白井彰 <okshirai <at> gmail.com>
>> Date: Tue, 31 Mar 2015 02:08:51 +0900
>> Cc: Akira Shirai <okshirai <at> gmail.com>
>>
>> "su: Sorry" also occurs on emacs-24.5-rc1.
>
> You need to find out why the shell's TTY is not a PTY device on your
> system. As Andreas pointed out, this is the reason for the problem.
Information forwarded
to
bug-gnu-emacs <at> gnu.org
:
bug#19191
; Package
emacs
.
(Wed, 01 Apr 2015 13:52:02 GMT)
Full text and
rfc822 format available.
Message #37 received at 19191 <at> debbugs.gnu.org (full text, mbox):
On Wed, Apr 01 2015, 白井彰 wrote:
> (cd emacs-24.3; ./configure --with-jpeg=no --with-gif=no; make)
[...]
> (cd emacs-24.4; ./configure --with-jpeg=no --with-gif=no; make)
Perhaps the output of the following two commands shows significant
differences?
grep '#.*PTY' emacs-24.3/src/config.h
grep '#.*PTY' emacs-24.4/src/config.h
Information forwarded
to
bug-gnu-emacs <at> gnu.org
:
bug#19191
; Package
emacs
.
(Thu, 02 Apr 2015 16:58:01 GMT)
Full text and
rfc822 format available.
Message #40 received at 19191 <at> debbugs.gnu.org (full text, mbox):
[Message part 1 (text/plain, inline)]
Today I tried what you had suggested, but I could not find significant
differences.
% grep '#.*PTY' emacs-24.3/src/config.h > /tmp/config.h_PTY_emacs-24.3
% grep '#.*PTY' emacs-24.4/src/config.h > /tmp/config.h_PTY_emacs-24.4
% cat /tmp/config.h_PTY_emacs-24.3
/* #undef BROKEN_PTY_READ_AFTER_EAGAIN */
/* #undef DONT_REOPEN_PTY */
#define FIRST_PTY_LETTER 'z'
#define HAVE_PTYS 1
/* #undef HAVE_PTY_H */
/* #undef PTY_ITERATION */
#define PTY_NAME_SPRINTF strcpy (pty_name, "/dev/ptmx");
/* #undef PTY_OPEN */
#define PTY_TTY_NAME_SPRINTF { char *ptsname (int), *ptyname; int grantpt_result; sigset_t blocked; sigemptyset (&blocked); sigaddset (&blocked, SIGCLD); pthread_sigmask (SIG_BLOCK, &blocked, 0); grantpt_result = grantpt (fd); pthread_sigmask (SIG_UNBLOCK, &blocked, 0); if (grantpt_result == -1 || unlockpt (fd) == -1 || !(ptyname = ptsname (fd))) { emacs_close (fd); return -1; } snprintf (pty_name, sizeof pty_name, "%s", ptyname); }
#define SETUP_SLAVE_PTY if (ioctl (xforkin, I_PUSH, "ptem") == -1) fatal ("ioctl I_PUSH ptem"); if (ioctl (xforkin, I_PUSH, "ldterm") == -1) fatal ("ioctl I_PUSH ldterm"); if (ioctl (xforkin, I_PUSH, "ttcompat") == -1) fatal ("ioctl I_PUSH ttcompat");
/* #undef UNIX98_PTYS */
% cat /tmp/config.h_PTY_emacs-24.4
/* #undef BROKEN_PTY_READ_AFTER_EAGAIN */
/* #undef DONT_REOPEN_PTY */
#define FIRST_PTY_LETTER 'z'
#define HAVE_PTYS 1
/* #undef HAVE_PTY_H */
/* #undef PTY_ITERATION */
#define PTY_NAME_SPRINTF strcpy (pty_name, "/dev/ptmx");
/* #undef PTY_OPEN */
#define PTY_TTY_NAME_SPRINTF { char *ptsname (int), *ptyname; int grantpt_result; sigset_t blocked; sigemptyset (&blocked); sigaddset (&blocked, SIGCHLD); pthread_sigmask (SIG_BLOCK, &blocked, 0); grantpt_result = grantpt (fd); pthread_sigmask (SIG_UNBLOCK, &blocked, 0); if (grantpt_result == -1 || unlockpt (fd) == -1 || !(ptyname = ptsname (fd))) { emacs_close (fd); return -1; } snprintf (pty_name, PTY_NAME_SIZE, "%s", ptyname); }
#define SETUP_SLAVE_PTY if (ioctl (xforkin, I_PUSH, "ptem") == -1) fatal ("ioctl I_PUSH ptem"); if (ioctl (xforkin, I_PUSH, "ldterm") == -1) fatal ("ioctl I_PUSH ldterm"); if (ioctl (xforkin, I_PUSH, "ttcompat") == -1) fatal ("ioctl I_PUSH ttcompat");
/* #undef UNIX98_PTYS */
% diff /tmp/config.h_PTY_emacs-24.3 /tmp/config.h_PTY_emacs-24.4
9c9
< #define PTY_TTY_NAME_SPRINTF { char *ptsname (int), *ptyname; int grantpt_result; sigset_t blocked; sigemptyset (&blocked); sigaddset (&blocked, SIGCLD); pthread_sigmask (SIG_BLOCK, &blocked, 0); grantpt_result = grantpt (fd); pthread_sigmask (SIG_UNBLOCK, &blocked, 0); if (grantpt_result == -1 || unlockpt (fd) == -1 || !(ptyname = ptsname (fd))) { emacs_close (fd); return -1; } snprintf (pty_name, sizeof pty_name, "%s", ptyname); }
---
> #define PTY_TTY_NAME_SPRINTF { char *ptsname (int), *ptyname; int grantpt_result; sigset_t blocked; sigemptyset (&blocked); sigaddset (&blocked, SIGCHLD); pthread_sigmask (SIG_BLOCK, &blocked, 0); grantpt_result = grantpt (fd); pthread_sigmask (SIG_UNBLOCK, &blocked, 0); if (grantpt_result == -1 || unlockpt (fd) == -1 || !(ptyname = ptsname (fd))) { emacs_close (fd); return -1; } snprintf (pty_name, PTY_NAME_SIZE, "%s", ptyname); }
% cat /tmp/config.h_PTY_emacs-24.3 | grep PTY_TTY_NAME_SPRINTF | sed 's/#define//' | indent -st > /tmp/config.h_PTY_emacs-24.3_indent-st
% cat /tmp/config.h_PTY_emacs-24.4 | grep PTY_TTY_NAME_SPRINTF | sed 's/#define//' | indent -st > /tmp/config.h_PTY_emacs-24.4_indent-st
% diff /tmp/config.h_PTY_emacs-24.3_indent-st /tmp/config.h_PTY_emacs-24.4_indent-st
6c6
< sigaddset(&blocked, SIGCLD);
---
> sigaddset(&blocked, SIGCHLD);
13c13
< } snprintf(pty_name, sizeof pty_name, "%s", ptyname);
---
> } snprintf(pty_name, PTY_NAME_SIZE, "%s", ptyname);
And I replaced the definition of PTY_TTY_NAME_SPRINTF in
emacs-24.4/src/config.h with the definition of PTY_TTY_NAME_SPRINTF in
emacs-24.3/src/config.h and typed "make" and "emacs -Q", the emacs
(almost emacs-24.4 except PTY_TTY_NAME_SPRINTF) still said "Warning:
no access to tty; thus no job control in this shell...".
> 2015/04/01 22:49、Wolfgang Jenkner <wjenkner <at> inode.at> のメール:
>
>
[Message part 2 (text/html, inline)]
Information forwarded
to
bug-gnu-emacs <at> gnu.org
:
bug#19191
; Package
emacs
.
(Mon, 13 Apr 2015 16:44:01 GMT)
Full text and
rfc822 format available.
Message #43 received at 19191 <at> debbugs.gnu.org (full text, mbox):
"su: Sorry" also occurs on Emacs 24.5.
% gzcat emacs-24.3.tar.gz | tar xfp -
% (cd emacs-24.3; ./configure --with-jpeg=no --with-gif=no; make)
% gzcat emacs-24.5.tar.gz | tar xfp -
% (cd emacs-24.5; ./configure --with-jpeg=no --with-gif=no; make)
% grep '#.*PTY' emacs-24.3/src/config.h > /tmp/config.h_PTY_emacs-24.3
% grep '#.*PTY' emacs-24.5/src/config.h > /tmp/config.h_PTY_emacs-24.5
% diff /tmp/config.h_PTY_emacs-24.3 /tmp/config.h_PTY_emacs-24.5
9c9
< #define PTY_TTY_NAME_SPRINTF { char *ptsname (int), *ptyname; int grantpt_result; sigset_t blocked; sigemptyset (&blocked); sigaddset (&blocked, SIGCLD); pthread_sigmask (SIG_BLOCK, &blocked, 0); grantpt_result = grantpt (fd); pthread_sigmask (SIG_UNBLOCK, &blocked, 0); if (grantpt_result == -1 || unlockpt (fd) == -1 || !(ptyname = ptsname (fd))) { emacs_close (fd); return -1; } snprintf (pty_name, sizeof pty_name, "%s", ptyname); }
---
> #define PTY_TTY_NAME_SPRINTF { char *ptsname (int), *ptyname; int grantpt_result; sigset_t blocked; sigemptyset (&blocked); sigaddset (&blocked, SIGCHLD); pthread_sigmask (SIG_BLOCK, &blocked, 0); grantpt_result = grantpt (fd); pthread_sigmask (SIG_UNBLOCK, &blocked, 0); if (grantpt_result == -1 || unlockpt (fd) == -1 || !(ptyname = ptsname (fd))) { emacs_close (fd); return -1; } snprintf (pty_name, PTY_NAME_SIZE, "%s", ptyname); }
% cat /tmp/config.h_PTY_emacs-24.3 | grep PTY_TTY_NAME_SPRINTF | sed 's/#define//' | indent -st > /tmp/config.h_PTY_emacs-24.3_indent-st
% cat /tmp/config.h_PTY_emacs-24.5 | grep PTY_TTY_NAME_SPRINTF | sed 's/#define//' | indent -st > /tmp/config.h_PTY_emacs-24.5_indent-st
% diff /tmp/config.h_PTY_emacs-24.3_indent-st /tmp/config.h_PTY_emacs-24.5_indent-st
6c6
< sigaddset(&blocked, SIGCLD);
---
> sigaddset(&blocked, SIGCHLD);
13c13
< } snprintf(pty_name, sizeof pty_name, "%s", ptyname);
---
> } snprintf(pty_name, PTY_NAME_SIZE, "%s", ptyname);
% (cd emacs-24.5/src; ./emacs -Q)
M-x shell
Warning: no access to tty; thus no job control in this shell...
% su
su: Sorry
%
=> su command in *shell* buffer does not work.
su does not ask for the password and exits with "su: Sorry".
Added indication that bug 19191 blocks19759
Request was from
Glenn Morris <rgm <at> gnu.org>
to
control <at> debbugs.gnu.org
.
(Thu, 28 May 2015 20:18:02 GMT)
Full text and
rfc822 format available.
bug archived.
Request was from
Debbugs Internal Request <help-debbugs <at> gnu.org>
to
internal_control <at> debbugs.gnu.org
.
(Fri, 10 Jul 2015 11:24:04 GMT)
Full text and
rfc822 format available.
This bug report was last modified 8 years and 290 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.