viernes, 4 de diciembre de 2009

bash: ejecutar un comando sólo si el anterior fue exitoso

An and list has the form

     command1 && command2

command2 is executed if, and only if, command1 returns an exit status of zero.

ref: Bash Reference Manual

martes, 1 de diciembre de 2009

Cuenta SSH enjaulada: scponly

What is scponly?

scponly is an alternative 'shell' (of sorts) for system administrators who would like to provide access to remote users to both read and write local files without providing any remote execution priviledges. Functionally, it is best described as a wrapper to the tried and true ssh suite of applications.


http://www.amadourias.com/?p=94