Coder Social home page Coder Social logo

pam-ipmi's Introduction

pam-ipmi

pam-ipmi's People

Contributors

bradbishop avatar jiaqingz-intel avatar manojkiraneda avatar pstrinkle avatar rthomaiy avatar timlee66 avatar tomjoseph83 avatar vmauery avatar williamspatrick avatar

Stargazers

 avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

Forkers

medadyoung koweda

pam-ipmi's Issues

useradd/usermod doesn't update /etc/ipmi_pass

useradd/usermod typically used with EXTRA_USERS_PARAMS to add or change user in the image.
But this doesn't update /etc/ipmi_pass file causes OOB IPMI to fail. But when user credentials are changed with passwd command it works fine.

Looks like pam_sm_chauthtok() is not getting called on useradd/usermod commands.

The rule of user password is not clear.

Hello:
Through ‘/redfish/v1/AccountService’ , we can get the 'MaxPasswordLength' and 'MinPasswordLength' of user password, but no other restrictions.
When create/edit user from WEBUI, some password which matches the rule of length, like '1234abcd', '11111abc', '12345678a', still get the error message of invalid password from backend.
In the /etc/pam.d/common-password, I find some pam modules and there are some limitations about user password.

password	[success=ok default=die]	pam_ipmicheck.so spec_grp_name=ipmi
password	[success=ok default=die]	pam_cracklib.so debug enforce_for_root reject_username minlen=8 difok=0 use_authtok
password	[success=ok ignore=ignore default=die]	pam_pwhistory.so debug enforce_for_root remember=0 use_authtok
password	[success=ok default=die]	pam_unix.so sha512 use_authtok
password	[success=1 default=die] 	pam_ipmisave.so spec_grp_name=ipmi spec_pass_file=/etc/ipmi_pass key_file=/etc/key_file
password	requisite			pam_deny.so
password	required			pam_permit.so

But none of them could explain why the passwords mentioned above are invalid.
So I want to know where to find those definition of user password rules.
THANKS!(please forgive my poor English)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.