文件操作 - interactive-defaults.ks
返回文件管理
返回主菜单
删除本文件
文件: /usr/share/anaconda/interactive-defaults.ks
编辑文件内容
# Kickstart defaults file for an interative install. # This is not loaded if a kickstart file is provided on the command line. auth --enableshadow --passalgo=sha512 firstboot --enable %anaconda # Default password policies pwpolicy root --notstrict --minlen=6 --minquality=1 --nochanges --notempty pwpolicy user --notstrict --minlen=6 --minquality=1 --nochanges --emptyok pwpolicy luks --notstrict --minlen=6 --minquality=1 --nochanges --notempty # NOTE: This applies only to *fully* interactive installations, partial kickstart # installations use defaults specified in pyanaconda/pwpolicy.py. # Automated kickstart installs simply ignore the password policy as the policy # only applies to the UI, not for passwords specified in kickstart. %end
修改文件时间
将文件时间修改为当前时间的前一年
删除文件