[Mageia-dev] Deprecating pm-utils

AL13N alien at rmail.be
Wed Oct 17 19:41:24 CEST 2012


Op woensdag 17 oktober 2012 14:09:18 schreef Colin Guthrie:
> 'Twas brillig, and David Walser at 17/10/12 14:02 did gyre and gimble:
> > Olav Vitters <olav at ...> writes:
> >> On Wed, Oct 17, 2012 at 11:10:35AM +0000, David Walser wrote:
> >>> So if you get rid of pm-utils, what's the new alternative to the
> >>> pm-suspend
> >>> command if you want to suspend from the command line?
> >> 
> >> No clue about pm-utils, but guess you're after:
> >> # systemctl suspend
> >> 
> >> see systemctl --help for various alternatives
> > 
> > Thanks.  Can this command be run as a regular user?
> 
> Depends on policy kit policy, but it should basically respect the same
> rules as other suspend operations triggered from GUIs.
> 
> e.g. if the system is multi-seat and has other sessions active on other
> seats, then it will prompt you to enter the root password, but in a
> typical case where you are the only active, logged in user, then yes, it
> should work fine.
> 
> Obviously the overall system policy here is more complex than what I've
> outlined above, but you get the picture.
> 
> Col

it should actually just pop up a screen for the other sessions in which case 
they can "ok" the suspend/reboot, and at the same time allow for root password 
to force it...


More information about the Mageia-dev mailing list