Slackware This Forum is for the discussion of Slackware Linux.
|
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
|
06-30-2006, 05:03 PM
|
#1
|
Member
Registered: May 2006
Posts: 39
Rep:
|
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.
|
|
|
06-30-2006, 05:09 PM
|
#2
|
Senior Member
Registered: Oct 2004
Location: Athens, Greece
Distribution: Slackware, arch
Posts: 1,783
Rep:
|
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
|
|
|
06-30-2006, 05:11 PM
|
#3
|
Moderator
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417
|
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.
|
|
|
06-30-2006, 05:25 PM
|
#4
|
Senior Member
Registered: May 2006
Distribution: BeOS, BSD, Caldera, CTOS, Debian, LFS, Mac, Mandrake, Red Hat, Slackware, Solaris, SuSE
Posts: 1,761
Rep:
|
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.
|
|
|
06-30-2006, 10:56 PM
|
#5
|
Member
Registered: May 2006
Posts: 39
Original Poster
Rep:
|
using dumb terminals etc would be a bad idea if someone on one could shut down the system causing people to lose unsaved work.
|
|
|
07-02-2006, 01:59 PM
|
#6
|
LQ Newbie
Registered: Mar 2006
Location: KENT OH US
Distribution: mostly Ubuntu 16
Posts: 7
Rep:
|
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?
|
|
|
07-02-2006, 04:07 PM
|
#7
|
Member
Registered: Jul 2004
Location: [jax][fl][usa]
Distribution: Slackware64-current
Posts: 796
Rep:
|
or you could chmod the privilege away
from users on /sbin/shutdown and leave
it available for root or a specified group
|
|
|
All times are GMT -5. The time now is 07:45 AM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|