Re: controlling access to halt, shutdown, poweroff, reboot

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

 



Max Pyziur wrote:
> 
> Greetings,
> 
> 
> I've been running fedora ain various releases for several years and just
> noticed that when working lcally I can invoke poweroff and reboot as
> non-superuser, while remotely I cannot. Any guidance as to what controls
> this?
> 
> Thanks!
> 
> Max Pyziur
> pyz@xxxxxxxxx
> 
I believe it is controlled by PAM. Specifically
auth       required     pam_console.so
in /etc/pam.d/halt. There are many things that are allowed for a
user logged in on the local console that are not allowed when logged
in remotely. It makes sense to let the local user do a shutdown -
better a controlled shutdown then pulling the plug or hitting the
reset switch.

Mikkel
-- 

  Do not meddle in the affairs of dragons,
for thou art crunchy and taste good with Ketchup!

Attachment: signature.asc
Description: OpenPGP digital signature

-- 
fedora-list mailing list
fedora-list@xxxxxxxxxx
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [Fedora Magazine]     [Fedora News]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Maintainers]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Legacy]     [Fedora Desktop]     [Fedora Fonts]     [ATA RAID]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [SSH]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Centos]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Tux]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Asterisk PBX]     [Fedora Sparc]     [Fedora Universal Network Connector]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux