LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices

Reply
 
LinkBack Search this Thread
Old 06-30-2006, 05:03 PM   #1
crash88
Member
 
Registered: May 2006
Posts: 39

Rep: Reputation: 15
ctrl-alt-del shuts down my system with user priveliges


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.
 
Old 06-30-2006, 05:09 PM   #2
perfect_circle
Senior Member
 
Registered: Oct 2004
Location: Athens, Greece
Distribution: Slackware
Posts: 1,782

Rep: Reputation: 52
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
 
Old 06-30-2006, 05:11 PM   #3
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 38,396

Rep: Reputation: 882Reputation: 882Reputation: 882Reputation: 882Reputation: 882Reputation: 882Reputation: 882
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.
 
Old 06-30-2006, 05:25 PM   #4
bsdunix
Senior Member
 
Registered: May 2006
Distribution: Caldera, CTOS, Debian, FreeBSD, Mac OS X, Mandrake, Minix, OpenBSD, Slackware, SuSE
Posts: 1,757

Rep: Reputation: 77
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.
 
Old 06-30-2006, 10:56 PM   #5
crash88
Member
 
Registered: May 2006
Posts: 39

Original Poster
Rep: Reputation: 15
using dumb terminals etc would be a bad idea if someone on one could shut down the system causing people to lose unsaved work.
 
Old 07-02-2006, 01:59 PM   #6
rad01
LQ Newbie
 
Registered: Mar 2006
Location: KENT OH US
Distribution: Slackware 13.37 (32), Ubuntu 10.04 LTS
Posts: 7

Rep: Reputation: 1
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?
 
Old 07-02-2006, 04:07 PM   #7
kodon
Member
 
Registered: Jul 2004
Location: [jax][fl][usa]
Distribution: Slackware64-current
Posts: 796

Rep: Reputation: 31
or you could chmod the privilege away
from users on /sbin/shutdown and leave
it available for root or a specified group
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
Trackbacks are Off
Pingbacks are On
Refbacks are 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:52 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
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: @linuxquestions
Open Source Consulting | Domain Registration