su authentification

Joe Zeff joe at zeff.us
Thu Sep 17 18:32:19 UTC 2015


On 09/17/2015 11:08 AM, Zoltan Hoppar wrote:
> The problem is worse. This setup locks out as user  to do any su or
> sudo or shutdown manually. No reboot, nor shutdown command because the
> user even if has added to the sudoers list - it has been locked out me
> either. Any shutdown command fails and forcing the computer to
> hibernate. PS: I have Mate version.
>
> Just discovered this issue.

Try this from a terminal:

ls -l -Z /usr/sbin/poweroff

For me, that returns this:

[joe at barrayar ~]$ ls -l -Z /usr/sbin/poweroff
lrwxrwxrwx. root root system_u:object_r:bin_t:s0 
/usr/sbin/poweroff -> ../bin/systemctl

It's possible that either the permissions or the SELinux context is wrong.


More information about the users mailing list