[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re:



On Sun, Aug 28, 2005 at 01:27:20AM -0500, Kent West wrote:
> Prabu Subroto wrote:
> 
> > Dear my friends...
> >
> > I want each user of a desktop can shutdown the desktop after they are 
> > finished with their job on the desktop.
> >
> > Till now only root can do shutdown.
> >
> > How can I do to make the non-root user can shutdown and reboot a
> > debian  box.
> >
> > Thank you very much in advance.
> >
> >
> Depends on how X is being started: "startx"? xdm? gdm?
> 
> I believe kdm allows this behaviour by default; if you don't mind
> switching, that might be the easiest fix.
> 
wdm: /etc/X11/wdm/wdm-config
DisplayManager*wdmReboot:       /sbin/reboot
DisplayManager*wdmHalt:         /sbin/halt
DisplayManager*wdmVerify:       false
DisplayManager*wdmRoot:         false

So nice ;-)
-- Dalibor



Reply to: