LinuxQuestions.org
Go Job Hunting at the LQ Job Marketplace
Go Back   LinuxQuestions.org > Forums > Linux > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices

Reply
 
Thread Tools
Old 06-30-2006, 05:03 PM   #1
crash88
Member
 
Registered: May 2006
Posts: 39
Thanked: 0
ctrl-alt-del shuts down my system with user priveliges


[Log in to get rid of this advertisement]
I've never seen this before in any *nix. My user, non-root, is able to ctrl-alt-del and shut the system down. What's a solution to this if there is one as this is obviously a security problem.
crash88 is offline     Reply With Quote
Old 06-30-2006, 05:09 PM   #2
perfect_circle
Senior Member
 
Registered: Oct 2004
Location: Athens, Greece
Distribution: Slackware
Posts: 1,773
Thanked: 0
Not sure if this works, haven't tried it but the ctrl+alt+del is controlled in /etc/inittab:

Code:
# What to do at the "Three Finger Salute".
ca::ctrlaltdel:/sbin/shutdown -t5 -r now
Try commenting out the whole line or removing the command
perfect_circle is offline     Reply With Quote
Old 06-30-2006, 05:11 PM   #3
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 33,330
Thanked: 182
why is that a security problem? kinda subjective i guess. essentially ctrl+alt+del is defined in /etc/inittab, so you'd remove that. note that this is dealt with by the system in a non-user centric way.
acid_kewpie is offline     Reply With Quote
Old 06-30-2006, 05:25 PM   #4
bsdunix
Senior Member
 
Registered: May 2006
Distribution: CTOS, FreeBSD, Mac OS X, Minix, OpenBSD, Slackware
Posts: 1,127
Thanked: 29
A user has physical access to the box and your worried about CTL-ALT-DEL, they can just pull the power plug and be done with it.
bsdunix is offline     Reply With Quote
Old 06-30-2006, 10:56 PM   #5
crash88
Member
 
Registered: May 2006
Posts: 39
Thanked: 0

Original Poster
using dumb terminals etc would be a bad idea if someone on one could shut down the system causing people to lose unsaved work.
crash88 is offline     Reply With Quote
Old 07-02-2006, 01:59 PM   #6
rad01
LQ Newbie
 
Registered: Mar 2006
Location: KENT OH US
Distribution: Slackware 12.2
Posts: 4
Thanked: 0
But ctrl-alt-delete is only functional from the console, isn't it? Have you tried via a dumb terminal and found that it causes a reboot?
rad01 is offline     Reply With Quote
Old 07-02-2006, 04:07 PM   #7
kodon
Member
 
Registered: Jul 2004
Location: [jax][fl][usa]
Distribution: Slackware-current
Posts: 783
Thanked: 0
or you could chmod the privilege away
from users on /sbin/shutdown and leave
it available for root or a specified group
kodon is offline     Reply With Quote

Reply

Bookmarks


Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Ctrl + Alt + Del ? funkenbooty Linux - Newbie 7 04-26-2007 07:20 AM
ctrl+alt+del d1l2w3 Linux - General 7 05-30-2006 08:25 AM
ctrl.alt.del. in man9.2??? krome Mandriva 3 01-16-2004 12:31 AM
ctrl, alt, del hornet74 Linux - Software 8 01-13-2004 09:06 PM
How do I intercept CTRL+ALT+DEL? phil1076 Linux - General 2 12-09-2003 03:07 PM


All times are GMT -5. The time now is 06:47 PM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
RSS2  LQ Podcast
RSS2  LQ Radio
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: @linuxquestions
Open Source Consulting | Domain Registration