Why are normal users allowed to shut server down?

Installing, Configuring, Troubleshooting server daemons such as Web and Mail
Post Reply
esnmb
Posts: 1
Joined: 2007/05/22 19:39:20

Why are normal users allowed to shut server down?

Post by esnmb » 2007/05/22 19:41:50

Never understood that. Anyway, how can I disable that in the login screen and just allow root shutdown access?

gerald_clark
Posts: 10642
Joined: 2005/08/05 15:19:54
Location: Northern Illinois, USA

Re: Why are normal users allowed to shut server down?

Post by gerald_clark » 2007/05/22 20:07:34

Anyone sitting at the console can shut the system down by hitting the reset button, or pulling the plug.

michaelnel
Posts: 1478
Joined: 2006/05/29 16:50:11
Location: San Francisco, CA

Re: Why are normal users allowed to shut server down?

Post by michaelnel » 2007/05/22 21:20:13

[quote]
gerald_clark wrote:
Anyone sitting at the console can shut the system down by hitting the reset button, or pulling the plug.[/quote]

Ed Zachary!

I've never understood why people worry about configuring the login screen when with physical access, you can do anything you want.

Grendelkeeper
Posts: 9
Joined: 2007/05/23 12:39:21

Re: Why are normal users allowed to shut server down?

Post by Grendelkeeper » 2007/05/23 13:35:34

no normal user should have access to the local login screen , to the reset button or the plug?!

normally, to disable shutdown for users modify /etc/inittab:

# Trap CTRL-ALT-DELETE
#ca::ctrlaltdel:/sbin/shutdown -t3 -r now
ca::ctrlaltdel:/bin/echo " disabled"

Post Reply