User Tools

Site Tools


doc:appunti:linux:sa:nis

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revisionBoth sides next revision
doc:appunti:linux:sa:nis [2020/12/16 15:10] – [NIS users unable to poweroff/reboot or manage printers] niccolodoc:appunti:linux:sa:nis [2020/12/16 15:43] – [NIS users unable to poweroff/reboot or manage printers] niccolo
Line 224: Line 224:
 ====== NIS users unable to poweroff/reboot or manage printers ====== ====== NIS users unable to poweroff/reboot or manage printers ======
  
-We experienced a problem with an **Ubuntu 20.04** Focal Fossa used as **NIS client**: some tasks were inhibited because the user - despite it was **logged-in locally** on the physical machine - it was considered **as a remote** one.+We experienced a problem with an **Ubuntu 20.04** Focal Fossa used as **NIS client**: some tasks were inhibited because the user - despite it was **logged-in locally** on the physical machine - it was considered **non interactive** one
 + 
 +One symptom can be the following error message when you issue the **reboot** command into a terminal session: 
 + 
 +<code> 
 +Failed to set wall message, ignoring: Interactive authentication required. 
 +Failed to power off system via logind: Interactive authentication required. 
 +Failed to open initctl fifo: Permission denied 
 +Failed to talk to init daemon. 
 +</code> 
 + 
 +Using the command **systemctl reboot -i** does not work either, producing the following error: 
 +</code> 
 + 
 +<code> 
 +==== AUTHENTICATING FOR org.freedesktop.login1.reboot-multiple-sessions === 
 +Authentication is required for rebooting the system while other users are logged in. 
 +</code> 
 + 
 +Choosing to reboot or poweroff from the various **desktop applets** produces instead just a **session close**.
  
-FIXME What the errors? 
  
 It turned out that the **[[https://wiki.debian.org/PolicyKit|PolicyKit]]** authorization manager is enabled, according to the default policies that problematic tasks are reserved to **local users** only, whereas users **authenticated by the NIS** server are considered somehow remote. It turned out that the **[[https://wiki.debian.org/PolicyKit|PolicyKit]]** authorization manager is enabled, according to the default policies that problematic tasks are reserved to **local users** only, whereas users **authenticated by the NIS** server are considered somehow remote.
doc/appunti/linux/sa/nis.txt · Last modified: 2020/12/16 16:27 by niccolo