ParadeGrotesque,
@ParadeGrotesque@mastodon.sdf.org avatar

Today, I learned something thanks to !

So, this NetBSD Foundation post:

https://mastodon.sdf.org/@netbsd/112382798178078765

Led me to this article:

https://blog.netbsd.org/tnf/entry/x_org_on_netbsd_the

Which led me to the lock (1) utility:

https://man.netbsd.org/lock.1

And finally to this command:

tmux lockc

... which allows one to safely lock a tmux session. I really like it so far.

This is the kind of depth and nice little surprise you don't get with commercial OS. Every day, you can learn about small utilities. :netbsd:

stefano,
@stefano@bsd.cafe avatar

@ParadeGrotesque NetBSD is a great operating system that definitely deserves more widespread adoption and use.

ParadeGrotesque,
@ParadeGrotesque@mastodon.sdf.org avatar

And here is more I learned on the same subject: 'lock' is not implemented under Ubuntu or so 'tmux lockc' does not seem to work either. The utility 'vlock' does the same thing, but is not installed by default.

But installing 'vlock' does not make 'tmux lockc' work under Linux. ☹️

Under and 'lock -p' uses your default password, but 'tmux lockc' work as expected (meaning, it asks for your login password). No '-p' means entering a separate password for unlocking.

  • All
  • Subscribed
  • Moderated
  • Favorites
  • random
  • GTA5RPClips
  • DreamBathrooms
  • InstantRegret
  • magazineikmin
  • thenastyranch
  • ngwrru68w68
  • Youngstown
  • everett
  • slotface
  • rosin
  • ethstaker
  • Durango
  • kavyap
  • cubers
  • provamag3
  • modclub
  • mdbf
  • khanakhh
  • vwfavf
  • osvaldo12
  • cisconetworking
  • tester
  • Leos
  • tacticalgear
  • anitta
  • normalnudes
  • megavids
  • JUstTest
  • All magazines