From: jaitken@csugrad.cs.vt.edu (Jeff Aitken)
Subject: Re: Bug in 'su' under Ultrix 4.3
Date: 30 Apr 1993 22:29:50 -0400 [thread overview]
Message-ID: <1rsnau$n03@csugrad.cs.vt.edu> (raw)
In-Reply-To: 1993Apr28.095535@ceres.rm.fccc.edu
Steve Rosen (smrosen@ceres.rm.fccc.edu) wrote:
: I found glitch in 'su' running under 4.3 where it accepts the typed
: password and then just hangs. There appears to be a permission
: problem of some sort, but I can't find anything specific. After
: talking with DEC C/S, their fix was to reboot the machine and it goes
: away. This is true, but the problem always returns in time. Anybody
: know what the permanent fix is for this?
I posted about this in comp.unix.admin recently, and got several
responses. I t appears that su is trying to write to /dev/console
when /dev/console is hung. Therefore, su hangs. The following perl
script (sent to me by Greg Thain) supposedly "unhangs" /dev/console,
which ought to clear up the problem.
---------------------------------------------------------------------
#!/usr/local/bin/perl
# Send the TIOCSTART ioctl to the console
require "sys/ioctl.ph";
open(CO,"/dev/console") || die("can't open /dev/console:$!");
ioctl(CO,&TIOCSTART,$foo) || die("ioctl failed: $!");
---------------------------------------------------------------------
Someone else suggested that it may be related to the syslog -
perhaps your syslog is dead or hung when this happens? I believe su
talks to the syslog as well.
--
Jeff Aitken |
jaitken@csugrad.cs.vt.edu | Everyone is allowed to be stupid.
DEC User's Group Vice President | It's just that some people abuse
Va. Tech Computer Science Dept. | the privilege.
next prev parent reply other threads:[~1993-05-01 2:29 UTC|newest]
Thread overview: 15+ messages / expand[flat|nested] mbox.gz Atom feed top
1993-04-28 13:57 Bug in 'su' under Ultrix 4.3 Steve Rosen
1993-04-28 18:41 ` Robert J. Granvin
1993-04-28 22:36 ` Ron Natalie
1993-04-29 13:57 ` Mike Iglesias
1993-04-29 17:29 ` Stephen Carpenter
1993-04-30 5:44 ` John Dodson
1993-04-28 18:47 ` Mitch Collinsworth
1993-04-28 23:02 ` Max Maklin
1993-04-29 10:55 ` Sebastian Meyer
1993-04-29 17:46 ` Wuxu Peng
1993-04-30 16:33 ` Peter Churchyard
1993-05-03 22:41 ` Eric Bushnell
1993-04-29 16:35 ` Magnus Harlander
1993-05-01 2:29 ` Jeff Aitken [this message]
-- strict thread matches above, loose matches on Subject: below --
1993-04-28 20:49 Achille Hui, the Day Dreamer
1993-05-03 3:10 ` David Burren [Athos]
read-only archive
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox