7th November 2008
in
Security
You don’t want your administrator to find out which sites you have been visiting lately. Use SSH for a secure connection. Create a local proxy to run on port 8000:
ssh -C -D 8000 -p 443 user@address.com
aft which y[...]
Tags: internet, ssh
No Comments
7th November 2008
in
Security
If you really want to zap a file in Linux and be sure that it can’t be ever recovered, use the shred command. shred -u -z -v filename will not only delete the file but also overwrite the sectors it resided in 25 ti[...]
Tags: deletion, files
No Comments
7th November 2008
in
Security
You can protect your most important files from accidental deletion by giving them a “sticky bit” attribute: chmod +t filename
[...]
Tags: files
3 Comments
7th November 2008
in
Security
If you have a server where you have to generate new passwords daily, the following script can automate the process:
#!/usr/bin/perl
my @alphanumeric = (’a’..’z', ‘A’..’Z', 0..9);
m[...]
Tags: passwords, perl, users
No Comments