You can setup confirmation or have it not confirm. If it is in the login
screen without yet logging in, then anyone can shutdown. Guess this is ala
Windows NT/2K as this is also how they do it.

Art

-----Original Message-----
From: Ted Spradley [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, February 12, 2002 4:36 PM
To: [EMAIL PROTECTED]
Subject: Re: [Newbie]XDM gui login not working


Art Fore wrote:
> 
> That is correct. Have not used XDM as login manager before. How do you
> shutdown? In KDM, when you logout, you get a new loging screen with a
> shutdown button where you can shutdown or restart.

Well, I use "sudo shutdown now", with a -h to halt or a -r to reboot. 
You have to be logged in to do that.

KDM puts up a shutdown button on the login screen?  Does it require any
authentication, or can anyone who can pull out the power cord click on
the button and shut down the system?  Stupid question  ;-)

I recently created an account named "shutdown", password "shutdown", uid
0, gid 0, and login shell "#!/bin/sh\nshutdown -h now" to accomplish
something similar.  Worked OK from a text console but was a bit quirky
from xdm.  Not for my own use, mind you, but for my son's teacher and
classmates.

The shutdown button on the login screen is probably a good idea for
people who insist on powering off their computers, but I hope it
requires some positive confirmation so it doesn't happen by accident.

Oh, BTW, what was your *original* problem?

-- 
Remember, more computing power was thrown away last week than existed in
the world in 1982.  -- http://www.tom.womack.net/computing/prices.html
_______________________________________________
Newbie mailing list
[EMAIL PROTECTED]
*** To unsubscribe , or change message options, see:
http://XFree86.Org/mailman/listinfo/newbie
_______________________________________________
Newbie mailing list
[EMAIL PROTECTED]
*** To unsubscribe , or change message options, see:
http://XFree86.Org/mailman/listinfo/newbie

Reply via email to