Displaying 4 results from an estimated 4 matches for "homedir_template".
2004 Mar 16
0
winbind: auto create home directories
Hi,
I'm running samba 3.0.2a as a windows domain MEMBER, security=ADS.
Just installed winbind last week it it looks great.
I noticed that it is possible to set a homedir_template for winbind;
however winbind has no option to create this directory on the fly (and
populate it with .profile etc).
I found the code for pam_mkhomedir to have pam session create the
homedirectory when a session is established via the pam mechanism.
Then I found that when opening a xterm using...
2017 Oct 23
0
Unable to apply mysqld_db_t to mysql directory
...e 'story' of a directory tree isn't about just one
label and it'd be tedious trying to match them all ...
For the craziness that is $HOME for instance...
CentOS7: cat /etc/selinux/targeted/contexts/files/file_contexts.homedirs
Fedora: cat /usr/share/selinux/targeted/default/active/homedir_template
There's a lot of different contexts depending on the file in that tree
... trying to mimic them all to move /home to /data/home would be a
nightmare ...
But this is made trivial with semanage fcontext -a -e /home /data/home
to ensure ~/.ssh and ~/.gpg and ~/public_html and so on all get the
r...
2017 Oct 23
2
Unable to apply mysqld_db_t to mysql directory
Thanks, I managed to fix /var/lib/mysql
# ls -ldZ /var/lib/mysql
drwxr-xr-x. mysql mysql system_u:object_r:mysqld_db_t:s0 /var/lib/mysql
To fix it, I tried:
semanage fcontext -d -e /var/lib/mysql
this command returned:
KeyError: /var/lib/mysql
I tried restorecon anyway:
restorecon -Rv /var/lib/mysql
But not better:
ls -ldZ /var/lib/mysql
drwxr-xr-x. mysql mysql system_u:object_r:var_lib_t:s0
2011 Aug 16
4
[virt-devel] End-user review of the native KVM tool
On Tue, Aug 16, 2011 at 09:40:44PM +0530, Kashyap Chamarthy wrote:
> Hm..it's been 10 mins..I don't see anything more in the file where I
> redirected stdout of 'febootstrap' cmd.
>
> Roughly, can you guess how much time this takes?
For me it has so far taken a lot longer. The problem is that the
number of dependent packages is probably 100s.
If you want something