Edit /etc/sysctl.conf and add the following lines:
net.ipv6.conf.all.disable_ipv6 = 1
net.ipv6.conf.default.disable_ipv6 = 1
Reboot or apply immediately with:
# sudo sysctl -p
Edit /etc/sysctl.conf and add the following lines:
net.ipv6.conf.all.disable_ipv6 = 1
net.ipv6.conf.default.disable_ipv6 = 1
Reboot or apply immediately with:
# sudo sysctl -p
First check the quotas are not enabled by command.
# mount | grep xfs
You should see “noquota” in the output
Also check with following command, it will give empty result means that quota is disabled.
# xfs_quota -x -c state
Please add rootflags=uquota in “GRUB_CMDLINE_LINUX” in /etc/sysconfig/grub:
GRUB_CMDLINE_LINUX="crashkernel=auto rhgb quiet rootflags=uquota"
Then generate grub.cfg in /boot:
# grub2-mkconfig -o /boot/grub2/grub.cfg
Final step update all current kernels:
# grubby --args="rootflags=uquota" --update-kernel=ALL
Check if the quota option is used in /etc/fstab:
UUID=df5462ce-cd8a-417d-a454-7688139cf2228 / xfs defaults,uquota 0 0
Finally reboot your machine. Afterward your mount command should show usrquota.
Install packages:
$ sudo apt install adsys realmd sssd
Join the machine:
$ sudo realm join -v -U <my-admin-user>
Edit your config /etc/sssd/sssd.conf and add or change following lines to your domain config:
ad_gpo_ignore_unreadable = True
use_fully_qualified_names = False
fallback_homedir = %u
Enable home folder creation in /etc/pam.d/common-session:
session optional pam_mkhomedir.so skel=/etc/skel umask=0077
Reboot machine and good to go.