Bug 21862 - /sbin/sulogin accepts regular files as ttys
Summary: /sbin/sulogin accepts regular files as ttys
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Red Hat Linux
Classification: Retired
Component: SysVinit
Version: 6.2
Hardware: i386
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Bill Nottingham
QA Contact: Dale Lovelace
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2000-12-07 00:15 UTC by jdalbec
Modified: 2014-03-17 02:17 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2000-12-07 11:57:46 UTC
Embargoed:


Attachments (Terms of Use)

Description jdalbec 2000-12-07 00:15:45 UTC
#touch tmp
#sulogin tmp
#cat tmp
Give root password for maintenance
(or type Control-D for normal startup):
#

I ran into this issue when a buggy sulogin replacement (don't ask) executed
the command:
/sbin/sulogin /sbin/shutdown -h now 'REMOTE SHUTDOWN REQUESTED'
This corrupted the 'shutdown' executable to the point where it ran, but
gave strange error messages with pieces of the text of the sulogin prompt.

Comment 1 Bill Nottingham 2001-01-31 21:30:56 UTC
Will be fixed in SysVinit-2.78-11. Thanks!


Note You need to log in before you can comment on or make changes to this bug.