Bug 11340 - Enhancement to allow use of /etc/shutdown.allow
Summary: Enhancement to allow use of /etc/shutdown.allow
Keywords:
Status: CLOSED WONTFIX
Alias: None
Product: Red Hat Linux
Classification: Retired
Component: initscripts
Version: 6.2
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Bill Nottingham
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2000-05-10 01:10 UTC by Mike McHenry
Modified: 2014-03-17 02:13 UTC (History)
1 user (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2000-05-10 01:10:56 UTC
Embargoed:


Attachments (Terms of Use)

Description Mike McHenry 2000-05-10 01:10:56 UTC
shutdown supports the use of a file /etc/shutdown.allow to list users who
are allowed to perform a soft Control-Alt-Delete shutdown. To take
advantage of this a flag must be added in /etc/inittab. This flag has no
adverse effects even if /etc/shutdown.allow is non-existant.

In /etc/inittab simply add -a to the shutdown command to enable this
feature.

ca::ctrlaltdel:/sbin/shutdown -t3 -r now

becomes

ca::ctrlaltdel:/sbin/shutdown -t3 -r now -a

Comment 1 Bill Nottingham 2000-08-07 05:16:21 UTC
We currently use pam_console for this sort of shutdown thing,
and generally subscribe to the 'those on the console can
find a way to reboot anyways' theory. We'll leave this
as a modification for local sysadmins.


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