Tuesday 3 March 2020

PAM says "No"

I saw this yesterday: -

Mar  2 11:19:32 korath sudo: pam_tally2(sudo:auth): user bloggsj (12024) tally 51, deny 5
Mar  2 11:19:32 korath sudo: pam_unix(sudo:auth): auth could not identify password for [bloggsj]
Mar  2 11:19:32 korath sudo:    bloggsj : 1 incorrect password attempt ; TTY=pts/0 ; PWD=/var/bloggsj ; USER=root ; COMMAND=/bin/bash

after changing a user's password.

He was trying/failing to run sudo bash even though he was in the right group, and was using the right password ....

Assuming that Pluggable Authentication Module (PAM) was getting in the way, I checked the PAM Tally: -

pam_tally --user=bloggsj

and even reset it: -

pam_tally --user=bloggsj --reset

but to no avail.

Then I re-read the message: -

Mar  2 11:19:32 korath sudo: pam_tally2(sudo:auth): user bloggsj (12024) tally 51, deny 5

Yep, the offending module is pam_tally2 !

Once I did the needful: -

pam_tally2 --user=bloggsj --reset

all was good.

For the record: -


Monday 2 March 2020

WebSphere User Group Spring Roadshow - 24 April 2020 @ IBM South Bank

From the department of my old team/job/love in IBM Cloud, we have: -

WebSphere User Group Spring Roadshow

We know that real-world applications are complicated, and that a "Hello World" example just doesn't cut it when compared to the enterprise-grade applications you develop and manage every day. That's why we've put together an in-depth experience to help you explore how you can transform your application from an on-prem monolith to a streamlined containerized cloud implementation.

Join us for a hands-on lab where you will take a fully-fledged application running in a traditional WebSphere ND environment all the way to a containerized solution running on OpenShift using Cloud Pak for Applications. 

In this lab, we will look at both operational modernization and application modernization.

  •  Operational modernization focuses on containerizing applications as-is and is the suggested approach for applications that are just too complex to change. We will do this using the traditional WebSphere base container image
  • Application modernization focuses on what changes can be made to applications to modernize aspects of them for optimal use on the cloud. For the application modernization portion we will use Open Liberty images to containerize those updated applications. 

Both types of containers will then be deployed to Red Hat OpenShift. We will explore some of the dashboards available in OpenShift to perform common application administration tasks. Finally, we will use Application Navigator to manage your whole portfolio of applications, whether running on-prem or in the cloud.

Friday 24 April 2020 ( 0900-1400 GMT )

9.00 Registration & Breakfast
9.30 Welcome & Introduction
10.00 Workshop
13.00 Networking lunch

14.00 Close

IBM South Bank
76/78 Upper Ground, South Bank, London SE1 9PZ

Visual Studio Code - Wow 🙀

Why did I not know that I can merely hit [cmd] [p]  to bring up a search box allowing me to search my project e.g. a repo cloned from GitHub...