Archive | SoT RSS feed for this section
Quote

The Tricky Part…

It's not that we find criminals like this through cyber-forensics. We get them in the real world when they do something stupid, it's invariably how it works: Getting credit cards is easy. Turning it into cash is hard.
Bruce Schneier

Solve screen error “Cannot open your terminal ‘/dev/pts/0’ – please check”

When using the screen tool you may be unable to start a screen session but instead encounter an error:

Cannot open your terminal '/dev/pts/0' - please check.

This is because another user (you) initiated the current terminal – you probably did a sudo su into the user you are now trying to run screen as, right?

There are two ways to resolve this:

  • Sign out and properly connect / sign in as the user you wish to use.
  • Run script /dev/null to own the shell (more info over at Server Fault); then try screen again.

Important: Do not chmod the virtual terminal device like suggested at (way too many) places around the interwebs. This gives other users read and write access to the terminal session!

Maybe you even want a different terminal multiplexer. You might want to take a look at tmux.

Leave a Comment
Image

All about the Fundamentals and Details

What are you doing Devonta? Once you get the ball in the hands, you do some good shit. But this shit right here got to be important to us. Details. Fundamentals. We got to be masters of details; masters of fundamentals because there are a lot of talented people in the NFL. Lot of them! The most successful ones are detailed and masters of fundamentals. And that’s what we’re going to be. – Gerald Brown, Running Backs Coach for the Falcons 2014 #HardKnocks

 

Video

Juice and Smoothie with John Joseph

Image

Guide to Men’s Suits and Dress Shoes and When to Wear Them [Infographic]