Centos 7, /var/lib/ssh-x509-auth/

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

 



I assume that this is created by ssh when the user goes to ssh from their
system. So, why would I get
If you want to allow ksh93 to have create access on the kmeyer.pem file
Then you need to change the label on <username>.pem
Do
# semanage fcontext -a -t FILE_TYPE '<username>.pem'
where FILE_TYPE is one of the following: abrt_var_cache_t, auth_cache_t,
auth_home_t, cgroup_t, faillog_t, gitosis_var_lib_t, gkeyringd_tmp_t,
krb5_host_rcache_t, lastlog_t, mozilla_plugin_tmp_t,
mozilla_plugin_tmpfs_t, nfs_t, openshift_tmp_t, pam_var_run_t, ssh_home_t,
sshd_var_run_t, systemd_passwd_var_run_t, user_tmp_t, var_auth_t.
Then execute:
restorecon -v '<username>.pem'

ll -aZ /var/lib/ssh-x509-auth/
drwx------. adm  root system_u:object_r:var_lib_t:s0   .
drwxr-xr-x. root root system_u:object_r:var_lib_t:s0   ..
-rw-------. adm  adm  system_u:object_r:var_lib_t:s0   <username>
-rw-------. adm  adm  system_u:object_r:var_lib_t:s0   <username>.pem

Is this a bug, a mislabeling, or...?

       mark


--
selinux mailing list
selinux@xxxxxxxxxxxxxxxxxxxxxxx
http://lists.fedoraproject.org/admin/lists/selinux@xxxxxxxxxxxxxxxxxxxxxxx




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

  Powered by Linux