Re: Determine SELinux domain of daemon which isn't running

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

 



Thanks for the reply, when I ran 'ls -lZ /usr/bin/rsync' I got: -rwxr-xr-x. root root system_u:object_r:rsync_exec_t:s0 /usr/bin/rsync

But, running 'rsync --daemon' then 'ps -eZ | grep rsync' I got: unconfined_u:unconfined_r:unconfined_t:s0-s0:c0.c1023 2575 ? 00:00:00 rsync

When I had expected to see rsync_exec_t in the response. If I'm missing something obvious please correct my (mis)understanding.


On 11/17/2016 11:51 PM, Lakshmipathi.G wrote:
Are you looking for this?

ls -lZ /path/to/daemon/on/disk


----
Cheers,
Lakshmipathi.G
FOSS Programmer.
www.giis.co.in


On Fri, Nov 18, 2016 at 9:56 AM,  <leroy.tennison@xxxxxxxxxxx> wrote:
I just beginning to learn SELinux and have numerous questions (I've read roughly half of the "Red Hat Enterprise Linux 7 SELinux User's and Administrator's Guide").  The first one is how to determine the domain of a daemon if it isn't running.  If there's documentation on this and I've just missed it just point me to it.  Thanks for your help.
_______________________________________________
selinux mailing list -- selinux@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to selinux-leave@xxxxxxxxxxxxxxxxxxxxxxx
_______________________________________________
selinux mailing list -- selinux@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to selinux-leave@xxxxxxxxxxxxxxxxxxxxxxx




[Index of Archives]     [Fedora Users]     [Fedora Desktop]     [Big List of Linux Books]     [Yosemite News]     [Yosemite Campsites]     [KDE Users]     [Gnome Users]

  Powered by Linux