On Fri, Oct 03, 2003 at 03:09:54PM -0600, Ross Werner wrote: > Just curious, how does the "Shutdown Computer" command in the "Start" (ha > ha) menu of KDE and Gnome work? Or the "Shutdown" in gpm (I think that 's > what it's called, the graphical login). You don't have to su for that, > right?
It's gdm, and it's owned and run by the superuser (at least under
Debian). It can call any of the /sbin/shutdown-ish tools directly, or
make any system calls it wants. Don't know about KDE.
Mike
.__________________________________________________________________.
Michael A. Halcrow <[EMAIL PROTECTED]>
Security Engineer, IBM Linux Technology Center
GnuPG Fingerprint: 05B5 08A8 713A 64C1 D35D 2371 2D3C FDDA 3EB6 601D
"Infidels in all ages have battled for the rights of man, and have
at all times been the fearless advocates of liberty and justice."
- Robert Green Ingersoll
pgp00000.pgp
Description: PGP signature
____________________ BYU Unix Users Group http://uug.byu.edu/ ___________________________________________________________________ List Info: http://uug.byu.edu/cgi-bin/mailman/listinfo/uug-list
