/etc/ipmi/lan.conf has a default cleartext account ipmiusr, if I don't configure the user, will he have this account by default, is there a security risk?
lan.conf permission is 644, ordinary users can also see, is not the risk of leaking the password?
On Wed, Jul 06, 2022 at 02:19:50AM -0000, hexing wrote:
/etc/ipmi/lan.conf has a default cleartext account ipmiusr, if I don't configure the user, will he have this account by default, is there a security risk?
lan.conf permission is 644, ordinary users can also see, is not the risk of leaking the password?
Yes, you are right to worry about this. If you are using ipmi_sim in a
production system, yes, lan.conf should be 600 permissions. I've
modified the makefile to install them 600.
Thanks,
-corey
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
You are right, I've adjusted the permissions to be 600 for the installed config file.
On Wed, Jul 06, 2022 at 02:19:50AM -0000, hexing wrote:
Yes, you are right to worry about this. If you are using ipmi_sim in a
production system, yes, lan.conf should be 600 permissions. I've
modified the makefile to install them 600.
Thanks,
-corey