Re: Reasons for rights policies, political or technical ? Was : Re: pm-hibernate as user

2012-12-19 Thread berenger . morel
I will do what we call in French a "tir groupé"... I guess it might be translated as grouped shots, but it does not sounds good to my ears... See my recent post: Make sure your desktop environment is setting up a up proper consolekit session. Then stuff like that will work ootb. E.g. if you ar

Re: Reasons for rights policies, political or technical ? Was : Re: pm-hibernate as user

2012-12-19 Thread Ralf Mardorf
To keep professional systems secure, it's helpful to force users to keep their home desktop PC secure too, because security is a chain. I know that there are cases, when we are not part of this chain, e.g. for an audio workstation, that isn't connected to the Internet. IMO it's ok to force users to

Re: Reasons for rights policies, political or technical ? Was : Re: pm-hibernate as user

2012-12-19 Thread Linux-Fan
On 12/19/2012 04:58 PM, berenger.mo...@neutralite.org wrote: > > > Le 19.12.2012 16:25, Hugo Vanwoerkom a écrit : >> Michael Biebl wrote: >>> On 19.12.2012 01:04, Hugo Vanwoerkom wrote: Michael Biebl wrote: > On 19.12.2012 00:34, berenger.mo...@neutralite.org wrote: >> Except using s

Re: Reasons for rights policies, political or technical ? Was : Re: pm-hibernate as user

2012-12-19 Thread Michael Biebl
On 19.12.2012 16:58, berenger.mo...@neutralite.org wrote: > > > Le 19.12.2012 16:25, Hugo Vanwoerkom a écrit : >> Michael Biebl wrote: >>> On 19.12.2012 01:04, Hugo Vanwoerkom wrote: Michael Biebl wrote: > On 19.12.2012 00:34, berenger.mo...@neutralite.org wrote: >> Except using sudo

Reasons for rights policies, political or technical ? Was : Re: pm-hibernate as user

2012-12-19 Thread berenger . morel
Le 19.12.2012 16:25, Hugo Vanwoerkom a écrit : Michael Biebl wrote: On 19.12.2012 01:04, Hugo Vanwoerkom wrote: Michael Biebl wrote: On 19.12.2012 00:34, berenger.mo...@neutralite.org wrote: Except using sudo, I know no solution... sadly. Maybe you can do something with policykit, too, I ne

Re: pm-hibernate as user

2012-12-19 Thread Michael Biebl
On 19.12.2012 16:25, Hugo Vanwoerkom wrote: > Indeed. I found this: > https://wiki.archlinux.org/index.php/PolicyKit#Suspend_and_hibernate > > Follow that and addgroup power and adduser to power and you can now > hibernate and suspend. So this just seems to be matter or missing PK privileges, i

Re: pm-hibernate as user

2012-12-19 Thread Hugo Vanwoerkom
Michael Biebl wrote: On 19.12.2012 01:04, Hugo Vanwoerkom wrote: Michael Biebl wrote: On 19.12.2012 00:34, berenger.mo...@neutralite.org wrote: Except using sudo, I know no solution... sadly. Maybe you can do something with policykit, too, I never tried to understand how it works, but I think

Re: pm-hibernate as user

2012-12-18 Thread berenger . morel
Le 19.12.2012 01:04, Hugo Vanwoerkom a écrit : Michael Biebl wrote: On 19.12.2012 00:34, berenger.mo...@neutralite.org wrote: Except using sudo, I know no solution... sadly. Maybe you can do something with policykit, too, I never tried to understand how it works, but I think giving rights to s

Re: pm-hibernate as user

2012-12-18 Thread Michael Biebl
On 19.12.2012 01:04, Hugo Vanwoerkom wrote: > Michael Biebl wrote: >> On 19.12.2012 00:34, berenger.mo...@neutralite.org wrote: >>> Except using sudo, I know no solution... sadly. >>> Maybe you can do something with policykit, too, I never tried to >>> understand how it works, but I think giving r

Re: pm-hibernate as user

2012-12-18 Thread Hugo Vanwoerkom
Michael Biebl wrote: On 19.12.2012 00:34, berenger.mo...@neutralite.org wrote: Except using sudo, I know no solution... sadly. Maybe you can do something with policykit, too, I never tried to understand how it works, but I think giving rights to some softwares is its role. sudo is one option

Re: pm-hibernate as user

2012-12-18 Thread Michael Biebl
On 19.12.2012 00:36, Michael Biebl wrote: > > $ dbus-send --print-reply \ > --system \ > --dest=org.freedesktop.UPower \ > /org/freedesktop/UPower \ > org.freedesktop.UPower.Suspend thinko on my part: you want org.freedesktop.UPower.Hibernate, of co

Re: pm-hibernate as user

2012-12-18 Thread Michael Biebl
On 19.12.2012 00:34, berenger.mo...@neutralite.org wrote: > Except using sudo, I know no solution... sadly. > Maybe you can do something with policykit, too, I never tried to > understand how it works, but I think giving rights to some softwares is > its role. sudo is one option, the other is to

Re: pm-hibernate as user

2012-12-18 Thread berenger . morel
Except using sudo, I know no solution... sadly. Maybe you can do something with policykit, too, I never tried to understand how it works, but I think giving rights to some softwares is its role. Le 19.12.2012 00:15, Hugo Vanwoerkom a écrit : Hi, What should be done to be able to execute pm-h