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

Re: Execute shutdown as other user than root



On Wed, 2003-11-26 at 22:22, csj wrote:
> On 26. November 2003 at 2:00AM +0000,
> Shri Shrikumar <shri@urbyte.com> wrote:
> 
> > On Tue, 2003-11-11 at 18:33, Andreas Janssen wrote:
> > > Clive Menzies (<clive@clivemenzies.co.uk>) wrote:
> > > > On (11/11/03 16:28), Iago Sineiro wrote:
> > > >> I want to execute shutdown as other user than root. How to
> > > >> do it? Is it possible?
> > > >> 
> > > >> Note: I want to do it in one box with Debian that doesn't
> > > >> have command sudo and I don't want to install it.
> > > >> 
> > > > FWIW KDE3.1 gives me reboot/shutdown options as an ordinary
> > > > user - it configured itself that way, so I can't tell you
> > > > how it is done.
> > > 
> > > You can enable or disable this by configuring the KDE login
> > > manager.
> > 
> > Does anyone know how I can do this from GNOME? Its annoying to
> > have to logout and then shutdown.
> 
> Are you talking about GDM?  You can edit the "SystemMenu" option
> in /etc/gdm/gdm.conf:
> 
> # The system menu is shown in the greeter
> SystemMenu=true
> 
> There's also another option for "SecureSystemMenu", which you
> might need to set to "false".  I don't know how much of a
> security risk this is:
> 
> # The system menu requires the root password for all options
> SecureSystemMenu=false
> 
> This can also be configured "graphically" once the "SystemMenu"
> is visible in the GDM greeter.

I've already got that sorted out. What I would like is to click on
Actions->Log Out and then choose from Shutdown / Reboot / Log Out like
you can in KDE / Windows / etc.

Anyone know if this is possible?

Regards,

Shri

-- 
------------------------------------------------------------------------
Shri Shrikumar       U R Byte Solutions           Tel:   0845 644 4745
I.T. Consultant	     Edinburgh, Scotland          Mob:   0773 980 3499
                     Web: www.urbyte.com          Email: shri@urbyte.com

Attachment: signature.asc
Description: This is a digitally signed message part


Reply to: