Write a comment
Accidently found 2 secrets of UNIX flavor MacOS "Darwin" and Plesk Linux servers
  • zsh: Pressing Ctrl + SHIFT R opens a history search to re-apply the same command against the shell.
  • A 'mesg' command does the talk daemon. This was OG stuff from Linux, from going back to when I was a child.
  • Also knew about utmp from Linux, maybe wtmp too.
  • This file was the history of login for telnet, but now for SSH and via 'w' and 'who'.
  • So, I went on my friend Dan's Linux server and pulled out 'utmpdump' which I also discovered. When applied with file "/var/log/wtmp" in arguments it would show some possibly useful information fields perhaps about login history. This is a query portal for perhaps LDAP scripts or databases?

Information

  • ℹ️ Use the 'last' command to use the wtmp of user logins.
Write comments...
You are a guest ( Sign Up ? )
or post as a guest
Loading comment... The comment will be refreshed after 00:00.

Be the first to comment.