bug-bash
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[bash freeze when doing `suspend' without `su']


From: arosaci
Subject: [bash freeze when doing `suspend' without `su']
Date: Fri, 22 Nov 2002 14:41:41 +0100 (CET)

Configuration Information [Automatically generated, do not change]:
Machine: i386
OS: freebsd4.6.2
Compiler: cc
Compilation CFLAGS:  -DPROGRAM='bash' -DCONF_HOSTTYPE='i386' 
-DCONF_OSTYPE='freebsd4.6.2' -DCONF_MACHTYPE='i386-portbld-freebsd4.6.2' 
-DCONF_VENDOR='portbld' -DSHELL  -DHAVE_CONFIG_H  -I.  -I. -I./include -I./lib  
-O -pipe
uname output: FreeBSD zweig.nettoll.com 4.7-STABLE FreeBSD 4.7-STABLE #2: Thu 
Oct 17 12:05:01 CEST 2002     
root@zweig.nettoll.com:/usr/obj/usr/src/sys/GENERIC  i386
Machine Type: i386-portbld-freebsd4.6.2

Bash Version: 2.05b
Patch Level: 0
Release Status: release

Description:
        [Detailed description of the problem, suggestion, or complaint.]

usually i run BASH in xterm, as non-root user. When i need root privileges, i
use "su root" command, and after that, i use the "suspend" command to retrieve
non-root privileges.

Having used "suspend" by mistake without doing "su root", my bash was completly
freezed.

Repeat-By:
        [Describe the sequence of events that causes the problem
        to occur.]

bash in xterm uid != 0

% tty
/dev/ttyp0
% id
uid=1003 .......
% su root
Password:
# id
uid=0(root) ......
# suspend
% id
uid=1003 .......
% suspend (HERE IS THE MISTAKE, RESULTING TO A BASH FREEZE)

Fix:
        [Description of how to fix the problem.  If you don't know a
        fix for the problem, don't include this section.]




reply via email to

[Prev in Thread] Current Thread [Next in Thread]