Advertisement
Guest User

Untitled

a guest
Jun 22nd, 2024
58
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.78 KB | None | 0 0
  1. $ diff -uw /usr/ports/core/linux-pam/Pkgfile Pkgfile
  2. --- /usr/ports/core/linux-pam/Pkgfile 2024-04-10 19:56:15.692727285 +0200
  3. +++ Pkgfile 2024-06-22 20:57:07.022336857 +0200
  4. @@ -17,7 +17,9 @@
  5. --libdir=/lib \
  6. --disable-nls \
  7. --disable-prelude \
  8. - --enable-db=no
  9. + --enable-db=no \
  10. + --enable-lastlog
  11. +
  12. make
  13. make DESTDIR=$PKG install
  14.  
  15. $ diff -uw /usr/ports/core/shadow/login /etc/pam.d/login
  16. --- /usr/ports/core/shadow/login 2023-07-21 22:54:08.913253623 +0200
  17. +++ /etc/pam.d/login 2024-06-22 20:59:35.718467493 +0200
  18. @@ -13,4 +13,5 @@
  19.  
  20. session include common-session
  21.  
  22. +session optional pam_lastlog.so
  23. session optional pam_motd.so
  24.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement