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

Re: Prevent shutdown with systemctl



On Mon 04 Jan 2016 at 20:03:33 +0100, Floris wrote:                                                                
                                                                                                                   
> Op Mon, 04 Jan 2016 18:16:39 +0100 schreef Michael Biebl <biebl@debian.org>:                                     
>                                                                                                                  
> >Am 04.01.2016 um 16:55 schrieb Floris:                                                                          
> >>Dear list,                                                                                                     
> >>                                                                                                               
> >>Often there are multiple users working on my multiseat [1] system, some                                        
> >>of them are kids and they are not paying attention if someone else is                                          
> >>logged in. They can shutdown the computer even if someone else is logged                                       
> >>in and have an active session.                                                                                 
> >                                                                                                                
> >What command exactly do they use?                                                                               
>                                                                                                                  
> the power off button in gnome3.18                                                                                
>                                                                                                                  
> There is a warning that an other user is logged in, but all users are                                            
> able to shutdown/ reboot.                                                                                        
                                                                                                                   
Devise a file to put in /etc/polkit-1/localauthority/50-local.d after                                              
you have read pklocalauthority(8). Works for me.


Reply to: