Archive for 'OpenBSD'
Q: How do I update the locate database (updatedb) in *BSD?
A: In the BSDs this command is /usr/libexec/locate.updatedb .
Posted: January 16th, 2007 under Answers, DragonFlyBSD, FreeBSD, NetBSD, OpenBSD, System Administration.
Comments: none
Q: How do I use OpenSSL to encrypt files?
A: This depends on if you want symmetric or asymmetric encryption.
For symmetic encryption, you can use the following…
To encrypt:
> openssl aes-256-cbc -salt -a -e -in plaintext.txt -out encrypted.txt
To decrypt this, you can use the following.
> openssl aes-256-cbc -salt -a -d -in encrypted.txt -out plaintext.txt
Now, for Asymmetric encryption you must first generate your private key and [...]
Posted: January 16th, 2007 under Answers, DragonFlyBSD, FreeBSD, NetBSD, OpenBSD, Security.
Comments: 1

