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

Notices

Reply
 
Search this Thread
Old 02-15-2004, 01:42 PM   #1
jogurt666
Member
 
Registered: Nov 2003
Location: Poland => Mazowieckie => Ok'a
Distribution: Gentoo
Posts: 176

Rep: Reputation: 30
halting the system


how do i give a normal user permission to halt (or reboot) the system. as far as i remember in redhats gnome i had a possibility to shut down the system. here under debian i can do it only as root.

btw halting system doesn't turn off my computer. i have to do it manually. under redhat it turned it off after halting.
 
Old 02-15-2004, 01:52 PM   #2
synaptical
Senior Member
 
Registered: Jun 2003
Distribution: Mint 13/15, CentOS 6.4
Posts: 2,020

Rep: Reputation: 46
i believe you sometimes need to have apm (advanced power management) enabled for the computer to physically turn off after shutting down.

as far as having users hatl or reboot the system, why would you want to do that? if anyone cracks your system, they can just shut it down. is it that difficult to switch to root to reboot?

if you really have to do it, you can chown/chmod your reboot and shutdown scripts. there are probably a lot of other ways to do it, too.
 
Old 02-16-2004, 04:59 AM   #3
mctavish
LQ Newbie
 
Registered: Feb 2004
Location: Australia
Distribution: Debian unstable
Posts: 19

Rep: Reputation: 0
I went through both these issues last week.

Synaptical is I'm sure perfectly correct in what he says re halt/reboot scripts, but there is a config file for gdm if you are using that as a display manager (you do mention gnome) If you are using something else (eg kdm) then there may be something equivalent.

The file is /etc/gdm/gdm.conf

There is a line in there like this:

# The system menu requires the root password for all options
SecureSystemMenu=false

Mine is configured not to require a password.

I require apm for automatic shutdown. I lost this ability when I did a bit update recently, but I just had to add apm into my modules list and it came back again.
 
  


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


Similar Threads
Thread Thread Starter Forum Replies Last Post
Help please... System Halting!?! MadLogic Linux - Software 2 07-21-2005 07:16 AM
System Halting while shutdown system. LiloAma Linux - Software 15 01-02-2005 08:30 PM
System Halting while shutdown LiloAma Linux - Hardware 5 12-23-2004 01:49 PM
Computer doesn't turn off when halting system sfbence Linux - Hardware 4 05-23-2004 07:06 PM
Redhat 9 System not halting properly ksgill Linux - Newbie 2 07-15-2003 09:48 PM


All times are GMT -5. The time now is 07:31 AM.

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 Google+: linuxquestions
Open Source Consulting | Domain Registration