Archivo del Autor: carlosap

How to run the OpenSSH SSHD server on Windows using Cygwin

Cygwin SSHD HowTo How to run the OpenSSH SSHD server on Windows using Cygwin Install the following Cygwin packages (rerun setup if necessary — you can add packages after you have already installed Cygwin). Admin –> cygrunsrv Net –> openssh Open a new bash shell window and run the SSH configure stuff. ssh-host-config -y This… Leer más »

pmap

sh for PID in `ps -ef| awk ‘// {print $2}’`; do pmap -x $PID > ${PID}.outfile; done whitouh sh ps -eo pid | while read; do pid=»$(($REPLY))» pmap > ./pmap_»$pid» -x «$pid» 2>/dev/null || printf ‘error printing address space map for pid %d\n’ «$pid» >&2 done

Categoría: Nix

security PROGRESS

There has been a lot of discussion lately about security and the web (wonder why?). Many great suggestions have come from this group on how to secure your web site and I will try not to repeat them. However, I think the list below should be used when ever a site is being moved from… Leer más »

TERM

term that works If i remember correctly, setting TERM=dtterm worked well enough for me.

Categoría: Nix

Solaris vi input mode arrow keys fix

Solaris vi input mode arrow keys fix This blog post is not for you to read. It’s for me. You see, every once in a awhile, I work for a client/employer who uses Solaris, OpenSolaris, Unix, or some other traditional Unix-like OS. They have their reasons, and they are good ones, and I’m fine with… Leer más »

sudoers

# sudoers file. # User privilege specification root ALL=(ALL) ALL usuario ALL=(root) /home/usuario/programa.sh usuario ALL=(root) /home/usuario/programas/*

Categoría: Nix