What did I do?

Hi I was playing around earlier and now I have to enter my password at shutdown. How do I change this? I want it to just shutdown. Thanks Dan

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

If you are ‘root’ you shouldn’t need to do that. Otherwise, this is
usually normal since nobody but ‘root’ should be able to shutdown the
entire computer unless that has been delegated to other users (the GUI
often makes this possible). If nothing else go into Yast: Security and
Users: Local Security and make sure the options in there let you do this
as non-root users as well as from the GUI if that is what you want. For
the future, document when you are “playing around”. :wink:

Good luck.

medan wrote:
> Hi I was playing around earlier and now I have to enter my password at
> shutdown. How do I change this? I want it to just shutdown. Thanks Dan
>
>
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFIvHhq3s42bA80+9kRAjTQAJwLtFtX5OYlLbqhVjBLfrUaTC8TRQCfYjHU
u6utS/nMsVSxULe4/TQzp0c=
=YT1E
-----END PGP SIGNATURE-----

On Mon, 2008-09-01 at 23:19 +0000, ab@novell.com wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> If you are ‘root’ you shouldn’t need to do that. Otherwise, this is
> usually normal since nobody but ‘root’ should be able to shutdown the
> entire computer unless that has been delegated to other users (the GUI
> often makes this possible). If nothing else go into Yast: Security and
> Users: Local Security and make sure the options in there let you do this
> as non-root users as well as from the GUI if that is what you want. For
> the future, document when you are “playing around”. :wink:

By default of course, openSUSE being a “non enterprise” product, the
logged in user usually can shut the machine down. So, it’s not
“normal” unless you are using SLES.

Hi,

first thing you can try is to check the settings in yast -> security & users -> security settings. There should be an option to allow all users to shutdown the machine. If this does not work you have to edit the configuration file of your display manager (kdm when using kde, gdm when using gnome) and allow all users to shutdown the machine.

hope this helps.

cjcox schrieb:
> By default of course, openSUSE being a “non enterprise” product, the
> logged in user usually can shut the machine down. So, it’s not
> “normal” unless you are using SLES.

In fact, it depends on the window manager. Gnome allows regular users
to shut the machine down, KDE doesn’t. Or was it the other way around?

Anyway, it’s just plain silly to prevent the user sitting before the
machine from shutting it down. sHe can always pull the plug, anyway,
so asking him/her to jump through hoops like logging off first in order
to do an orderly shutdown doesn’t buy anything, it just increases the
danger that the user switches the system off without shutting down
properly.

ym2c
T.

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

There’s not guarantee somebody with a GUI is in front of the box.

Good luck.

Tilman Schmidt wrote:
> cjcox schrieb:
>> By default of course, openSUSE being a “non enterprise” product, the
>> logged in user usually can shut the machine down. So, it’s not
>> “normal” unless you are using SLES.
>
> In fact, it depends on the window manager. Gnome allows regular users
> to shut the machine down, KDE doesn’t. Or was it the other way around?
>
> Anyway, it’s just plain silly to prevent the user sitting before the
> machine from shutting it down. sHe can always pull the plug, anyway,
> so asking him/her to jump through hoops like logging off first in order
> to do an orderly shutdown doesn’t buy anything, it just increases the
> danger that the user switches the system off without shutting down
> properly.
>
> ym2c
> T.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFIxwA53s42bA80+9kRAlSzAJ9vlV+4+gWONhQG8JEog6VCMLMbwgCfV9ef
OFWQEoFXkOibr8zqyEDDGi8=
=lA1T
-----END PGP SIGNATURE-----

ab@novell.com schrieb:
> There’s not guarantee somebody with a GUI is in front of the box.

Sure. And there is some merit in preventing users from shutting the
machine down remotely without additional precautions. That’s why
I wrote “the user sitting in front of the machine” instead of
“somebody with a GUI”.

HTH
T.

To clarify, it depends on the login manager. Generally speaking, if you’re using GDM, then Gnome will allow shutdown. If you’re using KDM, then KDE will allow shutdown.

It’s not really an issue of security in terms of design to prevent users from shutting down, it’s simply a case that the standard linux permissions don’t permit a non-root user to shut down the system. That dates back to the days when unix was a server based system accessed by users on terminals.

The DE runs with the user’s permissions. The only way to work around it is to have some sort of a trigger to a service or app with system-level permissions to initiate a shutdown, which is why the GDM/Gnome or KDM/KDE association exists.

But at the end of the day, this is one of those things where I would say it’s not a bug, it’s a feature. :wink:

Cheers,
KV

Do you remember or can you recall what you were playing around before it happened?

else where schrieb:
> Tilman Schmidt;1869215 Wrote:
>> In fact, it depends on the window manager. Gnome allows regular users
>> to shut the machine down, KDE doesn’t. Or was it the other way around?
>
> To clarify, it depends on the login manager. Generally speaking, if
> you’re using GDM, then Gnome will allow shutdown. If you’re using KDM,
> then KDE will allow shutdown.

Wow. That was exactly it. Quite logical once you think of it, except I didn’t.

My daughter had been complaining for weeks that she couldn’t shut down her
laptop anymore without logging out first since she switched from Gnome to
KDE (no flames please :wink: and I have been searching in vain for a solution.
Acting on your clarification, I have now switched the login manager
accordingly, and - problem solved!

Thanks a lot
Tilman