hack
GNU/Find posix acl support
Cercare file che corrispondono a delle acl posix all’interno di un filesystem molto intricato è sempre un delirio.
Questa patch aggiunge l’opzione -acl al comando find (GNU/Findutils).
Esempio d’uso:
$ touch 1 2 3 4
$ mkdir 5
$ setfacl -m u:root:rx 1
$ setfacl -m g:bin:rw 2
$ setfacl -m u:pietro:— 3
$ setfacl -m g:bin:rw 3
$ setfacl -m g:wheel:r 4
$ setfacl [...]
Fast System VerSioning
http://fsvs.tigris.org/
It is a complete backup/restore/versioning tool for all files in a directory tree or whole filesystems, with a subversionTM repository as the backend.
You may think of it as some kind of tar or rsync with versioned storage.
Verbose bash history
/etc/bashrc
HISTSIZE=4000
HISTFILESIZE=4000
for f in .bash_history .bash_verbose_history; do
if [ `wc -l $HOME/$f | awk '{print $1}'` -gt 3000 ] ; then
cp -f $HOME/$f $HOME/$f-`date -I`
fi
done
if [...]
VPN layer 3 con OpenSSH
Dalla versione 4.3 di OpenSSH è stato introdotto il supporto per TUN/TAP. Questo sigifica che è possibile stabilire un tunnel cifrato tra due peer o due (o piu) reti.
Questo script si occupa di fare il discover dei device tun da utilizzare, assegnare gli indirizzi e le rotte al tunnel (locali e sul peer remoto) ed [...]

