<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
</head>
<body>
The OBMC PAM requires the password to be 8 characters in length, and
probably requires a numeral as well.<br>
I realize you want to get to a 5 character password.<br>
I recommend you try adding a user with a password that works with
the existing rules to see if your automated creation method works.
After that you can try creating shorter passwords.<br>
<br>
<div class="moz-cite-prefix">On 1/5/22 23:02, Xiaochao Ma (马小超)
wrote:<br>
</div>
<blockquote type="cite"
cite="mid:dbe4f24d42c24b9cbe8992fb982f02ec@inspur.com">
<pre class="moz-quote-pre" wrap="">Sorry I didn't explain some of the methods I tried : (
1. I tried the method you mentioned, but failed.
The length of the password I want to set is 5 digits.
I modified the complexity setting via /etc/pam.d/common-password, but still cannot set a 5-digit password. (The setting for reducing the length requirement failed to take effect)
2. I also tried to temporarily remove pam_cracklib.so in /etc/pam.d/common-pasword so that it does not perform complexity detection. Failed very directly......
-----邮件原件-----
发件人: Lei YU [<a class="moz-txt-link-freetext" href="mailto:mine260309@gmail.com">mailto:mine260309@gmail.com</a>]
发送时间: 2022年1月6日 14:41
收件人: Xiaochao Ma (马小超) <a class="moz-txt-link-rfc2396E" href="mailto:maxiaochao@inspur.com"><maxiaochao@inspur.com></a>
抄送: <a class="moz-txt-link-abbreviated" href="mailto:openbmc@lists.ozlabs.org">openbmc@lists.ozlabs.org</a>
主题: Re: Update (or generate) /etc/ipmi_pass file
On Thu, Jan 6, 2022 at 11:39 AM Xiaochao Ma (马小超) <a class="moz-txt-link-rfc2396E" href="mailto:maxiaochao@inspur.com"><maxiaochao@inspur.com></a> wrote:
</pre>
<blockquote type="cite">
<pre class="moz-quote-pre" wrap="">
Hello everyone
I now want to add a default user to my own machine (I modified
obmc-phosphor-image.bbappend, use the useradd… ),
but the new default user cannot use Ipmi. It is because the ipmi_pass file is not updated.
I couldn't find a method/tool to generate ipmi_pass file. So how can I generate a new ipmi_pass file?
</pre>
</blockquote>
<pre class="moz-quote-pre" wrap="">
What I do is to use qemu or a real BMC, adjust the ipmi username/passwords, and then copy the ipmi_pass out.
</pre>
</blockquote>
<br>
<div class="moz-signature">-- <br>
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
<title></title>
<font color="#1F497D"><font face="Century Gothic">Johnathan Mantey<br>
<small>Senior Software Engineer</small><br>
<big><font color="#555555"><small><b>azad te</b><b>chnology
partners</b></small><br>
<small><font color="#1F497D"><small>Contributing to
Technology Innovation since 1992</small></font><small><br>
<font color="#1F497D">Phone: (503) 712-6764<br>
Email: <a href="mailto:johnathanx.mantey@intel.com"
class="moz-txt-link-freetext">johnathanx.mantey@intel.com</a></font></small><br>
<br>
</small></font></big></font></font> </div>
</body>
</html>