On 10/25/18 4:55 PM, Patrick Dupre wrote:
>  
> On Thu, Oct 25, 2018 at 10:40 AM Patrick Dupre <pdu...@gmx.com
> <mailto:pdu...@gmx.com>> wrote:
> 
>     Hello,
> 
>     I do not understand this error message:
>      /sbin/shutdown -h +70
>     Failed to set wall message, ignoring: Interactive authentication
>     required.
>     Failed to call ScheduleShutdown in logind, proceeding with immediate
>     shutdown: Interactive authentication required.
> 
>  
> Did you run it as root or with sudo?
>  
> In visudo, I have
> pdupre  localhost=/sbin/shutdown -h +70

That wasn't the question. Did you "sudo /sbin/shutdown -h +70" or did
you simply run it as yourself ("/sbin/shutdown -h +70")?

If the latter, you're not root (nor are you sudo'd to root). Both
wall messages to all users (the first message) and shutdown (the second
message) can only be done by someone with root privileges. If a normal
user tries either, they must authenticate and they must be members of
the "wheel" group (admins).
----------------------------------------------------------------------
- Rick Stevens, Systems Engineer, AllDigital    ri...@alldigital.com -
- AIM/Skype: therps2        ICQ: 226437340           Yahoo: origrps2 -
-                                                                    -
-  Memory is the second thing to go, but I can't remember the first! -
----------------------------------------------------------------------
_______________________________________________
users mailing list -- users@lists.fedoraproject.org
To unsubscribe send an email to users-le...@lists.fedoraproject.org
Fedora Code of Conduct: https://getfedora.org/code-of-conduct.html
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/users@lists.fedoraproject.org

Reply via email to