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

Re:



2005/8/28, Kent West <westk@acu.edu>:
> 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.
>
> --
> Kent
> --

you can set /etc/inittab so ctrl+alt+del shutdown instead of rebooting...
look for a line like

# What to do when CTRL-ALT-DEL is pressed.
ca:12345:ctrlaltdel:/sbin/shutdown -t1 -a -r now

and change to

ca:12345:ctrlaltdel:/sbin/shutdown -t1 -a -h now

this should do the job =)



Reply to: