El Tue, 02 Feb 2016 10:18:59 +0000, franiortiz hotmail escribió: > Hola
Ese formato... > Hace un tiempo me ocurre, aleatoriamente no siempre, que al encender la > maquina, el .bash_history de root esta vacio, uso jessie. > > $ uname -a Linux debiamd64 3.16.0-4-amd64 #1 SMP Debian > 3.16.7-ckt20-1+deb8u3 (2016-01-17) x86_64 GNU/Linux > > > Por suerte tengo un script de inicio en "/etc/cron.daily/script" , en el > cual una linea es: > > cp /root/.bash_history /home/bash/bash.root.txt . Pero no deja de ser > molesto > > > A alguien mas le ha pasado? No, al menos en testing no he notado ese comportamiento. Tampoco en wheezy. > Podría ser, de algun modo, la linea del script en cron.daily? ¿Por copiar el archivo, dices? No creo que pueda afectar. > Por cierto con el bash_history del usuario sin problemas y tiene una > linea igual en el mismo script de cron. Te paso dos enlaces donde hablan de un tema similar por si te sirve: Bash History not containing all history and blank after reboot, how to resolve? http://askubuntu.com/questions/372755/bash-history-not-containing-all-history-and-blank-after-reboot-how-to-resolve [SOLVED] root .bash_history unexpectedly reset to 0 bytes https://bbs.archlinux.org/viewtopic.php?id=186806 Saludos, -- Camaleón

