Login
[x]
Log in using an account from:
Fedora Account System
Red Hat Associate
Red Hat Customer
Or login using a Red Hat Bugzilla account
Forgot Password
Login:
Hide Forgot
Create an Account
Red Hat Bugzilla – Attachment 1480598 Details for
Bug 1619706
sssd only sets the SELinux login context if it differs from the default
[?]
New
Simple Search
Advanced Search
My Links
Browse
Requests
Reports
Current State
Search
Tabular reports
Graphical reports
Duplicates
Other Reports
User Changes
Plotly Reports
Bug Status
Bug Severity
Non-Defaults
|
Product Dashboard
Help
Page Help!
Bug Writing Guidelines
What's new
Browser Support Policy
5.0.4.rh83 Release notes
FAQ
Guides index
User guide
Web Services
Contact
Legal
This site requires JavaScript to be enabled to function correctly, please enable it.
test_selinux
test-selinux.txt (text/plain), 6.82 KB, created by
aheverle
on 2018-09-03 19:27:53 UTC
(
hide
)
Description:
test_selinux
Filename:
MIME Type:
Creator:
aheverle
Created:
2018-09-03 19:27:53 UTC
Size:
6.82 KB
patch
obsolete
>[root@test-selinux ~]# ls -lZ /opt/app/home >drwxrwxr-x. root root system_u:object_r:home_root_t:s0 start_stop >[root@test-selinux ~]# >[root@test-selinux ~]# ls -dZ /opt/app/home >drwxr-xr-x. root root system_u:object_r:home_root_t:s0 /opt/app/home >[root@test-selinux ~]# matchpathcon /opt/app/home >/opt/app/home system_u:object_r:usr_t:s0 >[root@test-selinux ~]# >[root@test-selinux ~]# ssh test_nq10001751@localhost >The authenticity of host 'localhost (<no hostip for proxy command>)' can't be established. >ECDSA key fingerprint is SHA256:2XcH+0cu9boDDxptgbjeMfzsAkKN+rKqHDGPjMCSdRo. >ECDSA key fingerprint is MD5:ca:13:07:ee:0e:1e:d6:28:a4:00:21:b0:fd:db:9b:b8. >Are you sure you want to continue connecting (yes/no)? yes >Warning: Permanently added 'localhost' (ECDSA) to the list of known hosts. >Password: >Creating home directory for test_nq10001751. >Could not chdir to home directory /opt/app/home/test_nq10001751: No such file or directory >-bash-4.2$ >-bash-4.2$ logout >[root@test-selinux test_rpms]# rpm -Uvh *.rpm >Preparing... ################################# [100%] >Updating / installing... > 1:libsss_certmap-1.16.0-19.el7_5.8.################################# [ 2%] > 2:libsss_idmap-1.16.0-19.el7_5.8.1 ################################# [ 4%] > 3:libsss_nss_idmap-1.16.0-19.el7_5.################################# [ 6%] > 4:python-sssdconfig-1.16.0-19.el7_5################################# [ 8%] > 5:libipa_hbac-1.16.0-19.el7_5.8.1 ################################# [ 10%] > 6:sssd-client-1.16.0-19.el7_5.8.1 ################################# [ 13%] > 7:sssd-libwbclient-1.16.0-19.el7_5.################################# [ 15%] > 8:libsss_sudo-1.16.0-19.el7_5.8.1 ################################# [ 17%] > 9:libsss_autofs-1.16.0-19.el7_5.8.1################################# [ 19%] > 10:sssd-common-1.16.0-19.el7_5.8.1 ################################# [ 21%] > 11:sssd-krb5-common-1.16.0-19.el7_5.################################# [ 23%] > 12:sssd-common-pac-1.16.0-19.el7_5.8################################# [ 25%] > 13:sssd-ad-1.16.0-19.el7_5.8.1 ################################# [ 27%] > 14:sssd-ipa-1.16.0-19.el7_5.8.1 ################################# [ 29%] > 15:sssd-krb5-1.16.0-19.el7_5.8.1 ################################# [ 31%] > 16:sssd-ldap-1.16.0-19.el7_5.8.1 ################################# [ 33%] > 17:python-sss-1.16.0-19.el7_5.8.1 ################################# [ 35%] > 18:sssd-dbus-1.16.0-19.el7_5.8.1 ################################# [ 38%] > 19:libsss_simpleifp-1.16.0-19.el7_5.################################# [ 40%] > 20:sssd-proxy-1.16.0-19.el7_5.8.1 ################################# [ 42%] > 21:sssd-1.16.0-19.el7_5.8.1 ################################# [ 44%] > 22:sssd-tools-1.16.0-19.el7_5.8.1 ################################# [ 46%] > 23:sssd-kcm-1.16.0-19.el7_5.8.1 ################################# [ 48%] > 24:sssd-polkit-rules-1.16.0-19.el7_5################################# [ 50%] > 25:python-libipa_hbac-1.16.0-19.el7_################################# [ 52%] > 26:python-libsss_nss_idmap-1.16.0-19################################# [ 54%] > 27:sssd-winbind-idmap-1.16.0-19.el7_################################# [ 56%] > 28:sssd-debuginfo-1.16.0-19.el7_5.8.################################# [ 58%] > 29:python-sss-murmur-1.16.0-19.el7_5################################# [ 60%] >Cleaning up / removing... > 30:sssd-1.16.0-19.el7_5.5 ################################# [ 63%] > 31:sssd-ipa-1.16.0-19.el7_5.5 ################################# [ 65%] > 32:sssd-ad-1.16.0-19.el7_5.5 ################################# [ 67%] > 33:sssd-ldap-1.16.0-19.el7_5.5 ################################# [ 69%] > 34:sssd-common-pac-1.16.0-19.el7_5.5################################# [ 71%] > 35:sssd-krb5-1.16.0-19.el7_5.5 ################################# [ 73%] > 36:sssd-proxy-1.16.0-19.el7_5.5 ################################# [ 75%] > 37:sssd-krb5-common-1.16.0-19.el7_5.################################# [ 77%] > 38:sssd-common-1.16.0-19.el7_5.5 ################################# [ 79%] > 39:sssd-client-1.16.0-19.el7_5.5 ################################# [ 81%] > 40:python-libipa_hbac-1.16.0-19.el7_################################# [ 83%] > 41:python-sssdconfig-1.16.0-19.el7_5################################# [ 85%] > 42:libipa_hbac-1.16.0-19.el7_5.5 ################################# [ 88%] > 43:libsss_idmap-1.16.0-19.el7_5.5 ################################# [ 90%] > 44:libsss_nss_idmap-1.16.0-19.el7_5.################################# [ 92%] > 45:libsss_autofs-1.16.0-19.el7_5.5 ################################# [ 94%] > 46:libsss_certmap-1.16.0-19.el7_5.5 ################################# [ 96%] > 47:libsss_sudo-1.16.0-19.el7_5.5 ################################# [ 98%] > 48:python-sss-murmur-1.16.0-19.el7_5################################# [100%] >[root@test-selinux test_rpms]# >[root@test-selinux test_rpms]# >[root@test-selinux test_rpms]# >[root@test-selinux test_rpms]# systemctl sssd restart >Unknown operation 'sssd'. >[root@test-selinux test_rpms]# systemctl restart sssd >[root@test-selinux test_rpms]# >[root@test-selinux test_rpms]# systemctl restart oddjobd >[root@test-selinux test_rpms]# >[root@test-selinux test_rpms]# >[root@test-selinux test_rpms]# >[root@test-selinux test_rpms]# ls -lZ /opt/app/home >drwxrwxr-x. root root system_u:object_r:home_root_t:s0 start_stop >[root@test-selinux test_rpms]# ls -dZ /opt/app/home >drwxr-xr-x. root root system_u:object_r:home_root_t:s0 /opt/app/home >[root@test-selinux test_rpms]# matchpathcon /opt/app/home >/opt/app/home system_u:object_r:usr_t:s0 >[root@test-selinux test_rpms]# >[root@test-selinux test_rpms]# >[root@test-selinux test_rpms]# cd >[root@test-selinux ~]# ssh test_nq10001751@localhost >Password: >Creating home directory for test_nq10001751. >Last login: Mon Sep 3 16:00:43 2018 from localhost >[test_nq10001751@test-selinux ~]$ >[test_nq10001751@test-selinux ~]$ >[test_nq10001751@test-selinux ~]$ id >uid=396010078(test_nq10001751) gid=396010078(test_nq10001751) groups=396010078(test_nq10001751),396000988(o2portal-enabler),396001014(newgen),396072561(indian-portal-applicationsupport) context=unconfined_u:unconfined_r:unconfined_t:s0-s0:c0.c1023 >[test_nq10001751@test-selinux ~]$ pwd >/opt/app/home/test_nq10001751 >[test_nq10001751@test-selinux ~]$ logout >Connection to localhost closed. >[root@test-selinux ~]# ls -lZ /opt/app/home >drwxrwxr-x. root root system_u:object_r:home_root_t:s0 start_stop >drwx------. test_nq10001751 test_nq10001751 unconfined_u:object_r:user_home_dir_t:s0 test_nq10001751 >[root@test-selinux ~]# matchpathcon /opt/app/home >/opt/app/home system_u:object_r:usr_t:s0 >[root@test-selinux ~]# ls -dZ /opt/app/home >drwxr-xr-x. root root system_u:object_r:home_root_t:s0 /opt/app/home
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 1619706
: 1480598