Re: systemd reboot

Dominick Grift <[email protected]>
Newsgroups org.kernel.vger.selinux-refpolicy
Message-ID <[email protected]>
On Mon, Jul 15, 2019 at 01:10:48AM +1000, Russell Coker wrote:
> # cat /lib/systemd/system/reboot.target
> cat: /lib/systemd/system/reboot.target: Permission denied
> # systemctl reboot
> ... it reboots
> 
> Should systemd be doing some sort of access check on reboot.target?

I was wrong. It is doing an acccess check on reboot.target

I tried it out here: https://www.youtube.com/watch?v=YUATkv6R6Ys&feature=youtu.be

> 
> -- 
> My Main Blog         http://etbe.coker.com.au/
> My Documents Blog    http://doc.coker.com.au/
> 
> 
> 

-- 
Key fingerprint = 5F4D 3CDB D3F8 3652 FBD8 02D5 3B6C 5F1D 2C7B 6B02
https://sks-keyservers.net/pks/lookup?op=get&search=0x3B6C5F1D2C7B6B02
Dominick Grift
signature.asc (application/pgp-signature, 659 B)
-----BEGIN PGP SIGNATURE-----

iQGzBAEBCAAdFiEEujmXliIBLFTc2Y4AJXSOVTf5R2kFAl0rVU8ACgkQJXSOVTf5
R2lLDAv/cu3kHLcA5yoe5Ppcjos2hUhAwIp7D4QOJqABVf/K8z4WcRzmuy+Bt9NF
s3Uu8uo6oN8pfJMScTTtmME10UJlhXqIl+LbF0iZqmE+FwlgOhrDndlu8E3hXTIT
8AMTy3dAhb1jOCmfWC39nCFESMfyTsYUuRZDUm12QIVUWwPZ5Lzm8FueNRAXJxZr
nnzTQMmq3j5MkHTIeK2h6ljNp8jB/w31nNv43RncB8EFKntda95XofmRtq5X7Geu
bgekRc8woJzatQ4pNk3Bt4fdDacYcD1qUCZZdGTnl21LiD7WLHZFdmSWh7JXUMJm
iZw9sB2catrdBlccK141H0wVY8TcxIUZX7vGf3504J4cgJ2zDsyCkhA25/fMaVM4
9NyzJf8x3oslHrTNr6XKoyn+HWNVq3FckYnbIzu1NkpAAXgj/EBmG/HquKjTIyVF
EaHPY8ap59SWigr9esc03jIHgOcjdzwLVXODsk+wsu0opM+YaKGWGfYVkP83VT2I
5q8mWJDB
=Ddaq
-----END PGP SIGNATURE-----
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.