Re: shudown

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

 



On 10/25/18 4:55 PM, Patrick Dupre wrote:
>  
> On Thu, Oct 25, 2018 at 10:40 AM Patrick Dupre <pdupre@xxxxxxx
> <mailto:pdupre@xxxxxxx>> 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    ricks@xxxxxxxxxxxxxx -
- 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@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to users-leave@xxxxxxxxxxxxxxxxxxxxxxx
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@xxxxxxxxxxxxxxxxxxxxxxx



[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [EPEL Devel]     [Fedora Magazine]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Desktop]     [Fedora Fonts]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Fedora Sparc]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux