TorryCrass.com

  • About
  • Gallery

command line

Security

Solid State Drive Erasure Using hdparm

Not that long ago it was simple enough to spin up a system with a CD or USB load of DBAN or some other utility to perform a data wipe on a system. With the increasing prevalence of Solid State media these methods have needed to change.

By Torry Crass, 6 years6 years ago
Helpful Commands

List Files With Found Contents in Linux

There are so many ways to slice, dice, parse, and of course search through files in Linux. This is but one of those ways. What makes this method fancy is that it we go from finding and printing contents of all the files found to listing the columns related to Read more…

By Torry Crass, 7 years7 years ago
Helpful Commands

List Locked Accounts in Linux

So you’re facing a system or security audit and you need to quickly print a list of accounts for the auditor as well as their statuses. Depending on your setup, this could be a trivial task. In other cases, especially with a passwd instance that doesn’t support the -a option, Read more…

By Torry Crass, 11 years11 years ago
Helpful Commands

Linux File Removal Error: Argument list too long

When you run a removal command in Linux with the recursive and force options enabled (rm -rf *), you don't expect to get back a failure message.  After all, YOU FORCED IT!  However, it just so happens that even with force, you can encounter a situation where the list of Read more…

By Torry Crass, 11 years11 years ago
Technical

Sendmail via Relay from Command Line on Linux

Every now and then there arises a need to send e-mail from a command prompt.  In this case, the system is Red Hat Enterprise Linux and the desire is to have mailx send e-mail to a 3rd party, external system using a relay server.  To do this, you need to Read more…

By Torry Crass, 11 years11 years ago
Helpful Commands

Linux User Creation and Password Update with Simple Command Chaining

I needed to create a user, grant them super user sudo privileges, update user account passwords and expire them across a number of different servers so that the actual user could log in and be forced to change their password to a (hopefully) secure one after I was complete.  Initially, Read more…

By Torry Crass, 11 years11 years ago
Technical

How to Expand Swap on a Linux VM

I searched for a while to come up with a method for expanding swap in an online way thinking that it might now be possible given all kinds of disk and file system advances over the past few years.  It's been a little bit since I've had to do this Read more…

By Torry Crass, 11 years11 years ago

Posts navigation

Previous 1 2 3 Next
Categories
  • Business (1)
  • Helpful Commands (23)
  • Notes (2)
  • Poetry (38)
  • Quips (3)
  • Scripting (6)
  • Security (19)
  • Technical (73)
  • Updates & News (9)
Valuable Products

Affordable Linode VPS

Help Others With Kiva

0.5GB Extra Storage with OneDrive

2GB Free Storage With Dropbox

 

Copyright & Image Usage
Content and images on this site are property of Torry Crass or their respective owners where cited or referenced.
Some images used through public domain licensing and obtained via http://www.publicdomainpictures.net/

© 2010 - 2018 TorryCrass.com

  • Gallery
  • NMP License v1.0
Hestia | Developed by ThemeIsle