On Mon, 2009-02-23 at 15:47 -0700, Michal Jaegermann wrote:
for a in settimezone settime configurehwclock ; do
polkit-action --action org.gnome.clockapplet.mechanism.$a
done
The only interesting parts are really default_active. If that says
"auth_self_keep_always", which is a "factory default", then you do
need a root password for these changes but you have to do them
differently than you tried.
Since you asked:
# for a in settimezone settime configurehwclock ; do
polkit-action --action org.gnome.clockapplet.mechanism.$a
done
action_id: org.gnome.clockapplet.mechanism.settimezone
description: Change system time zone
message: Privileges are required to change the system time zone.
default_any: no
default_inactive: no
default_active: auth_self_keep_always
action_id: org.gnome.clockapplet.mechanism.settime
description: Change system time
message: Privileges are required to change the system time.
default_any: no
default_inactive: no
default_active: auth_self_keep_always
action_id: org.gnome.clockapplet.mechanism.configurehwclock
description: Configure hardware clock
message: Privileges are required to configure the hardware clock.
default_any: no
default_inactive: no
default_active: auth_self_keep_always
poc