by geoffeg on 5/11/23, 5:49 PM with 32 comments
by teeray on 5/12/23, 3:41 AM
This isn’t to trivialize the work of Tailscale (like the famous Dropbox comment). I just wanted to point out a cool thing that sudo does that most people don’t know about.
by tptacek on 5/11/23, 8:55 PM
by blueflow on 5/11/23, 10:18 PM
script -ec "command args" ~/$(date +%Y-%m-%d-%H%M%S_$$_script.txt)
Works out of the box on almost every *nix system.The recordings end up as textfiles with the control sequences in, you can use commands like cat -v, grep or less -R on them. If you also record a timing file, you can replay it 1:1 on you terminal.
by matthewaveryusa on 5/11/23, 8:49 PM
I'll be horsing around with this tonight -- I hope ts sshing to my local computer will just work so I can get local recording as well without a separate mechanism.
by pelagicAustral on 5/11/23, 11:03 PM
I remember seeing someone do a demo on this but the result, after only 2 minutes where insane. There was so much data to go through that you might aswell just give up on trying to get anything useful.
by rastignack on 5/12/23, 9:20 AM
However if I scp a script to an audited server, then execute it, would I be able to retrieve the content of the script to have a proper audit trail ?
In other words is the file transfer protocol audited ?
by theossuary on 5/12/23, 3:42 PM
by jgalt212 on 5/12/23, 12:43 AM