Disable password expiration
Signed-off-by: Patrick Uiterwijk <puiterwijk@redhat.com>
This commit is contained in:
parent
7511103516
commit
c9c904f2bd
1 changed files with 3 additions and 0 deletions
|
@ -23,6 +23,9 @@ ipa user-add fas_sync --first=FAS --last=Sync
|
||||||
# Allow sync user to create and edit users
|
# Allow sync user to create and edit users
|
||||||
ipa group-add-member admins --users=fas_sync
|
ipa group-add-member admins --users=fas_sync
|
||||||
|
|
||||||
|
# Disable password expiration
|
||||||
|
ipa pwpolicy-mod global_policy --maxlife=0 --minlife=0 --history=0 --minclasses=0 --minlength=0 --maxfail=0
|
||||||
|
|
||||||
# Allow sync user to update passwords
|
# Allow sync user to update passwords
|
||||||
ldapmodify -x -H ldapi://%2fvar%2frun%2fslapd-FEDORAPROJECT-ORG.socket <<EOF
|
ldapmodify -x -H ldapi://%2fvar%2frun%2fslapd-FEDORAPROJECT-ORG.socket <<EOF
|
||||||
dn: cn=ipa_pwd_extop,cn=plugins,cn=config
|
dn: cn=ipa_pwd_extop,cn=plugins,cn=config
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue