[PR #590] [MERGED] fix: debian 13 uses lastlog2 #595

Closed
opened 2026-05-07 00:21:41 +02:00 by BreizhHardware · 0 comments

📋 Pull Request Information

Original PR: https://github.com/ovh/the-bastion/pull/590
Author: @jon4hz
Created: 9/23/2025
Status: Merged
Merged: 11/5/2025
Merged by: @speed47

Base: masterHead: fix-lastlog2


📝 Commits (3)

  • fae4c92 fix: debian 13 uses lastlog2
  • a1d6121 fix: also make sure libpam-lastlog2 is installed
  • 9161911 fix: handle lastlog for ubuntu correctly

📊 Changes

2 files changed (+20 additions, -0 deletions)

View changed files

📝 bin/admin/install (+13 -0)
📝 bin/admin/packages-check.sh (+7 -0)

📄 Description

This PR fixes a small issue on debian 13, as it doesn't use lastlog but lastlog2.

However, I'm not quite sure why this is even needed in the first place. The Bastion seems to track last logins in a file that is stored in the user homes.


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/ovh/the-bastion/pull/590 **Author:** [@jon4hz](https://github.com/jon4hz) **Created:** 9/23/2025 **Status:** ✅ Merged **Merged:** 11/5/2025 **Merged by:** [@speed47](https://github.com/speed47) **Base:** `master` ← **Head:** `fix-lastlog2` --- ### 📝 Commits (3) - [`fae4c92`](https://github.com/ovh/the-bastion/commit/fae4c9286c4a3bbf80c1828c6abade3061b524fa) fix: debian 13 uses lastlog2 - [`a1d6121`](https://github.com/ovh/the-bastion/commit/a1d6121714396cf14922e144e16d6a53a684b8f4) fix: also make sure libpam-lastlog2 is installed - [`9161911`](https://github.com/ovh/the-bastion/commit/9161911d3f08febb371edc63a6bcb360f3872df0) fix: handle lastlog for ubuntu correctly ### 📊 Changes **2 files changed** (+20 additions, -0 deletions) <details> <summary>View changed files</summary> 📝 `bin/admin/install` (+13 -0) 📝 `bin/admin/packages-check.sh` (+7 -0) </details> ### 📄 Description This PR fixes a small issue on debian 13, as it doesn't use `lastlog` but `lastlog2`. However, I'm not quite sure why this is even needed in the first place. The Bastion seems to track last logins in a file that is stored in the user homes. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
BreizhHardware 2026-05-07 00:21:41 +02:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/the-bastion#595
No description provided.