LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
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
  Search this Thread
Old 06-30-2006, 04: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, 04:09 PM   #2
perfect_circle
Senior Member
 
Registered: Oct 2004
Location: Athens, Greece
Distribution: Slackware, arch
Posts: 1,783

Rep: Reputation: 53
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, 04:11 PM   #3
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985
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, 04:25 PM   #4
bsdunix
Senior Member
 
Registered: May 2006
Distribution: BeOS, BSD, Caldera, CTOS, Debian, LFS, Mac, Mandrake, Red Hat, Slackware, Solaris, SuSE
Posts: 1,761

Rep: Reputation: 80
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, 09: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, 12:59 PM   #6
rad01
LQ Newbie
 
Registered: Mar 2006
Location: KENT OH US
Distribution: mostly Ubuntu 16
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, 03: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



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 06:20 AM
ctrl+alt+del d1l2w3 Linux - General 7 05-30-2006 07:25 AM
ctrl.alt.del. in man9.2??? krome Mandriva 3 01-15-2004 11:31 PM
ctrl, alt, del hornet74 Linux - Software 8 01-13-2004 08:06 PM
How do I intercept CTRL+ALT+DEL? phil1076 Linux - General 2 12-09-2003 02:07 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 08:46 PM.

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration