[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[plamo:33619] Re: パスワード変更・設定が不可
-
From:山本 伸一
-
Date:Fri, 19 Mar 2021 23:03:23 +0900 (JST)
- Subject: [plamo:33619] Re: パスワード変更・設定が不可
- From: 山本 伸一 <beniya@xxxxxxxxxxxxxx>
- Date: Fri, 19 Mar 2021 23:03:18 +0900
山本です。
こじまさん、ありがとうございます。
ご指摘の通りでした。
それから、単純なパスワードを注意してくれたりする機能が増えたんですね。
驚きました。
>阿部さん
ご返事ありがとうございました。
カテゴリー 03 までしかインストールしてないはずだったので、04以降は全く
考えてなかったです。
03までしたか入れてないはずのplamo でも04以降のパッケージが影響してくる
ものなのでしょうか?
elogind も知らないし、申し訳ありませんでした。
On Fri, 19 Mar 2021 22:50:27 +0900 (JST)
KOJIMA Mitsuhiro <kojima@xxxxxxxxxxx> wrote:
>
> From: 山本 伸一 <beniya@xxxxxxxxxxxxxx>
> Subject: [plamo:33617] Re: パスワード変更・設定が不可
> Date: Fri, 19 Mar 2021 21:37:15 +0900
>
> > auth.log に
> > passwd[2535]: PAM unable to dlopen(/lib/security/pam_cracklib.so): /lib/security/pam_cracklib.so: 共有オブジェクトファイルを開けま せん: そのようなファイルやディレクトリはありません
> >
> >> * /etc/pam.d/system-password の内容
> >>
> > # /etc/pam.d/system-password
> > password required pam_cracklib.so retry=3 difok=5 minlen=8 \
> > dictpath=/lib/cracklib/pw_dict
> > password required pam_unix.so sha512 shadow use_authtokroot@ja
> >
> > という感じで、/lib/security/pam_cracklib.so が見当たらないです。
> >
>
> あー,これは linux_pam の問題っぽいな.とりあえず,
>
> # cp /etc/pam.d.dist/system-password /etc/pam.d/
>
> で解決するはず.
>
> 上記で移す最近の system-password はこうなっているはず.
>
> # /etc/pam.d/system-password
> #password required pam_cracklib.so retry=3 difok=5 minlen=8 \
> # dictpath=/lib/cracklib/pw_dict
> password required pam_pwquality.so authtok_type=UNIX retry=1 difok=1 \
> minlen=8 dcredit=0 ucredit=0 \
> lcredit=0 ocredit=0 minclass=1 \
> maxrepeat=0 maxsequence=0 \
> maxclassrepeat=0 geoscheck=0 \
> dictcheck=1 usercheck=1 \
> enforcing=1 badwords="" \
> dictpath=/lib/cracklib/pw_dict
> password required pam_unix.so sha512 shadow use_authtok
>
> しばらく前から pam_cracklib を廃して pam_pwquality を使うようにしているのだけど,
> 古い system-password を上書きしないようにしているから,
> pam_cracklib を使っている system-password がそのまま残ってしまっていた模様.
>
> -------
> こじま
>
--
山本 伸一 <beniya@xxxxxxxxxxxxxx>
- Follow-Ups
-
- [plamo:33621] Re: [plamo:33619] Re: パスワード変更・設定が不可, KATOH Yasufumi
- [plamo:33622] Re: パスワード変更・設定が不可, ABE Shin-ichi
- References
-
- [plamo:33617] Re: パスワード変更・設定が不可, 山本 伸一
- [plamo:33618] Re: パスワード変更・設定が不可, KOJIMA Mitsuhiro
[検索ページ]
[メール一覧]
Plamo ML 公開システム