summaryrefslogtreecommitdiff
path: root/redfish-core
diff options
context:
space:
mode:
authorJoseph Reynolds <joseph-reynolds@charter.net>2019-12-06 02:53:35 +0300
committerJoseph Reynolds <joseph-reynolds@charter.net>2019-12-12 00:00:05 +0300
commit96b39e02ba160cda74b70b4cd9bac34c760e1701 (patch)
tree5ee68f2c8869c7aaa88de81eb833bbdbecfe1944 /redfish-core
parent7166bf0fd7453f2b5d6bfb3afbdad5eb00f74990 (diff)
downloadbmcweb-96b39e02ba160cda74b70b4cd9bac34c760e1701.tar.xz
Change PAM service_name for password changes
BMCWeb was using the "passwd" command PAM configuration settings when changing the password. This changes it to use PAM service_name="webserver", the same name it already uses for PAM authentication and account management functions. Doing so allows the BMC system administrator to provide separate PAM config files for the "passwd" command and BMCWeb's password changing function, and for these activities to be correctly identified in the system logs. Here is a sample incorrect log message (truncated & wrapped): bmcweb[353]: pam_warn(passwd:chauthtok): function=[pam_sm_chauthtok] flags=0xc000 service=[passwd] terminal=[<unknown>] user=[testuser] ruser=[<unknown>] rhost=[<unknown>] The "service" should be "webserver". Tested: yes, password change successful Change-Id: I593f42c8f0494df967fb498fb4dd66fa4168596b Signed-off-by: Joseph Reynolds <joseph-reynolds@charter.net>
Diffstat (limited to 'redfish-core')
0 files changed, 0 insertions, 0 deletions