{JP1/Base}3.4.7 パスワードポリシーを設定する

※ 12-10で追加

  • 物理ホスト

/opt/jp1base/bin/jbsgetcnf -c JP1BASE > /root/jbscnf.bkup


vim /etc/opt/jp1base/conf/passwdpolc/jp1bs_passwdpolc.conf

[JP1_DEFAULT\JP1BASE\PASSWDPOLC]
"ENABLE"=dword:0000001
"PASSWD_LEN_MIN"=dword:00000010
"NUM_OF_CHAR_TYPE_MIN"=dword:00000003
"REQ_CHAR_TYPE"="NUM,UPPER,SYMBOL"

/opt/jp1base/bin/jbssetcnf /etc/opt/jp1base/conf/passwdpolc/jp1bs_passwdpolc.conf

/opt/jp1base/bin/jbs_spmd_stop
/opt/jp1base/bin/jevstop
/opt/jp1base/bin/jevlogdstop

/opt/jp1base/bin/jbs_spmd
/opt/jp1base/bin/jevstart
/opt/jp1base/bin/jevlogdstart


--動作確認
/opt/jp1base/bin/jbsadduser jp2user

KAVA5908-E 認証機能のパスワードポリシーに違反しています(jp2user, 文字数違反)

 

  • 論理ホスト


/opt/jp1base/bin/jbsgetcnf -h mmm190 -c JP1BASE > /root/jbscnf.bkup

vim /mnt/sdc2/im/jp1base/conf/passwdpolc/jp1bs_passwdpolc.conf

[mmm190\JP1BASE\PASSWDPOLC]
"ENABLE"=dword:0000001
"PASSWD_LEN_MIN"=dword:00000010
"NUM_OF_CHAR_TYPE_MIN"=dword:00000003
"REQ_CHAR_TYPE"="NUM,UPPER,SYMBOL"

/opt/jp1base/bin/jbssetcnf /mnt/sdc2/im/jp1base/conf/passwdpolc/jp1bs_passwdpolc.conf

/etc/opt/jp1base/jbs_stop.cluster mmm190
/etc/opt/jp1base/jbs_start.cluster mmm190

--動作確認
/opt/jp1base/bin/jbsadduser -h mmm190 jp2user

KAVA5908-E 認証機能のパスワードポリシーに違反しています(jp2user, 文字数違反)

 


-- 待機系への共通定義情報反映

共通定義情報の出力
/opt/jp1base/bin/jbsgetcnf -h mmm190 > /root/jbscnf.txt
scp /root/jbscnf.txt mmm192:/root

共通定義情報の取り込み
ssh mmm192 "/opt/jp1base/bin/jbssetcnf /root/jbscnf.txt"