<div>Hi Thomaiyar</div><div><br></div><div>Thanks for your advices. Acctually I want to add a user dynamically when after openbmc is running, not in the image building time. And I do some trials, and it seems to work.</div><div>1. After login in as root, I use busctl to call the CreateUser method of phosphor-user-manager</div><div><img src="cid:0190C061@AD915844.D047F75D.PNG" modifysize="78%" diffpixels="17px" scalingmode="zoom" style="width: 829px; height: 65px;"></div><div><div>2. After that, I use passwd command to change user liu3's password. The password can not be too simple, and I set password as "qwertyuiop[]123".</div><div><img src="cid:03DDD2A3@E221B725.D047F75D.PNG" modifysize="78%" diffpixels="17px" scalingmode="zoom" style="width: 829px; height: 106px;"></div><div>3. Then I can see two user in /xyz/openbmc_project/user. They are root and liu3</div><div><img src="cid:5F6A67C8@97254D7F.D047F75D.PNG" modifysize="80%" diffpixels="18px" scalingmode="zoom" style="width: 843px; height: 135px;"></div><div>4. In another computer(accutally I run openbmc in qemu, and "another computer" means the host system), I try to access the openbmc with curl and ipmitool. And it seems to work.</div><div><img src="cid:368D2BA4@C480D813.D047F75D.PNG" modifysize="80%" diffpixels="17px" scalingmode="zoom" style="width: 843px; height: 209px;"></div><div>Although I can add a user, but I still do not know how to delete the added user. I haven't found a deleteuser d-bus interface like createuser interface.</div><div><br></div><div>Best Regards!</div><div>Liu Hongwei</div><div style="font-size: 12px;font-family: Arial Narrow;padding:2px 0 2px 0;">------------------ 原始邮件 ------------------</div><div style="font-size: 12px;background:#efefef;padding:8px;"><div><b>发件人:</b> "Thomaiyar, Richard Marian"<richard.marian.thomaiyar@linux.intel.com>;</div><div><b>发送时间:</b> 2019年12月16日(星期一) 下午3:18</div><div><b>收件人:</b> "南野ムルシエラゴ"<1181052146@qq.com>;"openbmc"<openbmc@lists.ozlabs.org>;<wbr></div><div></div><div><b>主题:</b> Re: How can I add a user for openbmc and remove the default root user?</div></div><div><br></div>Hi Liu,<br><br>Please refer earlier response on the same<br><br>https://lists.ozlabs.org/pipermail/openbmc/2019-June/016515.html<br><br>Lately i am seeing many people asking for this password override for <br>IPMI, Will try to override the same using bbclass for ipmi password too<br><br>Regards,<br><br>Richard<br><br>On 12/14/2019 3:27 PM, 南野ムルシエラゴ wrote:<br>> Greetings!<br>>     I am using openbmc, and I want to remove the default root user and <br>> add a new user.<br>>     I use useradd add a user, I can use curl with this username and <br>> passwd to connect to openbmc, But when I use ipmitool, it fails<br>>     Can any one tell me what can I  do?<br>><br>> Best Regards!<br>> Liu Hongwei<br></div>