Re: Alternatief voor bash_history ?

2018-03-19 Thread Arno Schuring
Hi, Paul van der Vlis (p...@vandervlis.nl on 2018-03-19 11:57 +0100): > > Het zou behulpzaam zijn, als ik had kunnen nagaan wat ik om 21:15 voor > commando had gegeven. Om het voor een volgende keer te voorkomen. > > bash_history is een goede zaak, maar eigenlijk zou ik

Re: Alternatief voor bash_history ?

2018-03-19 Thread Geert Stappers
>> Er bleek een enorm bestand in /var/tmp/.guestfs te staan. > >> > >> Het zou behulpzaam zijn, als ik had kunnen nagaan wat ik om 21:15 voor > >> commando had gegeven. Om het voor een volgende keer te voorkomen. > >> > >> bash_history is een

Re: Alternatief voor bash_history ?

2018-03-19 Thread Geert Stappers
15 voor > commando had gegeven. Om het voor een volgende keer te voorkomen. > > bash_history is een goede zaak, maar eigenlijk zou ik het loggen van > commando's graag wat beter geregeld hebben. > Zoals een timestamp voor elk commando. Er is HISTTIMEFORMAT zie https://askubuntu.com

Alternatief voor bash_history ?

2018-03-19 Thread Paul van der Vlis
Hoi, Vanochtend was een systeem volgelopen waarop ik gisteren had gewerkt. Er bleek een enorm bestand in /var/tmp/.guestfs te staan. Het zou behulpzaam zijn, als ik had kunnen nagaan wat ik om 21:15 voor commando had gegeven. Om het voor een volgende keer te voorkomen. bash_history is een goede

.bash_history disappeared

2014-10-14 Thread Rusi Mody
Subject line about says it. Didnt exactly disappear but became zero-length. Checked because there seemed to nothing in the history. Closed that shell and restarted. The last shell's commands were there, nothing else Wouldn't bother asking were it not for shellshock... Debian jessie (with

Re: [OT] Personalizar fichero bash_history en Debian.

2012-07-17 Thread jmramirez (mas_ke_na)
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Buenas ¿Sabe alguien cómo cambiar esos números raros que mete en el bashrc_history por lo que se muestra en el comando history. Una vez me dijeron como estaban codificados y como sacarlos pero no he conseguido recordarlo. He visto un script

Re: [OT] Personalizar fichero bash_history en Debian.

2012-07-16 Thread Ramses II
.bash_history #1342427709 history #1342427763 set #1342427846 mc #1342428059 exit Esos números los mete en el bashrc_history al meter estas dos

Re: [OT] Personalizar fichero bash_history en Debian.

2012-07-14 Thread Camaleón
El Sat, 14 Jul 2012 01:50:00 +0200, Ramses escribió: El 13/07/2012, a las 18:40, Camaleón noela...@gmail.com escribió: El Fri, 13 Jul 2012 12:44:59 +0200, Ramses II escribió: (...) ¿Habría alguna forma de que en el .bash_history anteponga/postponga a cada comando la IP de la Sesión que

[OT] Personalizar fichero bash_history en Debian.

2012-07-13 Thread Ramses II
pasar lo que suele pasar, yo no he tocado, yo no he hecho eso,... Claro, si en esos casos tiramos de .bash_history (contando que no se haya sido malo y se hayan borrado rastros), ahí aparecen los comanditos, pero claro, no sabemos quién los ejecutó... ¿Habría alguna forma de que en el

Re: [OT] Personalizar fichero bash_history en Debian.

2012-07-13 Thread jmramirez (mas_ke_na)
se debería tener un usuario por administrador... Bien, en estos casos suele pasar lo que suele pasar, yo no he tocado, yo no he hecho eso,... Claro, si en esos casos tiramos de .bash_history (contando que no se haya sido malo y se hayan borrado rastros), ahí aparecen los comanditos, pero

Re: [OT] Personalizar fichero bash_history en Debian.

2012-07-13 Thread jmramirez (mas_ke_na)
mismo usuario para administrar, cuando se debería tener un usuario por administrador... Bien, en estos casos suele pasar lo que suele pasar, yo no he tocado, yo no he hecho eso,... Claro, si en esos casos tiramos de .bash_history (contando que no se haya sido malo y se hayan borrado rastros

Re: [OT] Personalizar fichero bash_history en Debian.

2012-07-13 Thread jmramirez (mas_ke_na)
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 jmramirez (mas_ke_na) escribió: Buenas En base a lo que comentaba. Puedes poner la hora de la ejecución delante de cada comando del history así: $ HISTTIMEFORMAT=%d/%m/%y %T $ echo 'export HISTTIMEFORMAT=%d/%m/%y %T '

Re: [OT] Personalizar fichero bash_history en Debian.

2012-07-13 Thread jmramirez (mas_ke_na)
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 jmramirez (mas_ke_na) escribió: jmramirez (mas_ke_na) escribió: Buenas En base a lo que comentaba. Puedes poner la hora de la ejecución delante de cada comando del history así: $ HISTTIMEFORMAT=%d/%m/%y %T $ echo 'export

Re: [OT] Personalizar fichero bash_history en Debian.

2012-07-13 Thread Ramses II
Buenas, El día 13 de julio de 2012 14:12, jmramirez (mas_ke_na) mas_ke...@hotmail.com escribió: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 jmramirez (mas_ke_na) escribió: jmramirez (mas_ke_na) escribió: Buenas En base a lo que comentaba. Puedes poner la hora de la ejecución

Re: [OT] Personalizar fichero bash_history en Debian.

2012-07-13 Thread jmramirez (mas_ke_na)
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Buenas... Ya me encontré. Para hacer lo que pide Ramses seria: export sship=`cat /var/log/auth.log | grep ssh | grep Accepted | head -1 | gawk '{ print $11}'` Y luego export HISTTIMEFORMAT=`echo $sship %d/%m/%y %T ` Ahora ya sale

Re: [OT] Personalizar fichero bash_history en Debian.

2012-07-13 Thread sergiogomez
= =YEcr -END PGP SIGNATURE- El único inconveniente que le veo es que si el usuario deja un espacio antes del comando, este no se registra en .bash_history, entonces solo queda registro de que estuvo, pero no qué hizo. Saludos. Sergio D. Gómez Tostado (SF) -- To UNSUBSCRIBE, email

Re: [OT] Personalizar fichero bash_history en Debian.

2012-07-13 Thread Diego Sanchez
Yo solo hago una pregunta.. Probaste con auditd ? Asi seteas que archivos a auditar (configuraciones, binarios, etc) # auditctl -w /etc/passwd -p war -k password-file Y así, buscas al culpable: # ausearch -f /etc/passwd -i | less La salida del comando anterior, será similar a esta:

Re: [OT] Personalizar fichero bash_history en Debian.

2012-07-13 Thread jmramirez (mas_ke_na)
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 sergiogomez escribió: El único inconveniente que le veo es que si el usuario deja un espacio antes del comando, este no se registra en .bash_history, entonces solo queda registro de que estuvo, pero no qué hizo. Saludos. Buenas Eso

Re: [OT] Personalizar fichero bash_history en Debian.

2012-07-13 Thread sergiogomez
On Fri, 13 Jul 2012 15:33:07 +0200, jmramirez (mas_ke_na) wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 sergiogomez escribió: El único inconveniente que le veo es que si el usuario deja un espacio antes del comando, este no se registra en .bash_history, entonces solo queda registro

Re: [OT] Personalizar fichero bash_history en Debian.

2012-07-13 Thread Ramses
Buenas, El 13/07/2012, a las 14:55, jmramirez (mas_ke_na) mas_ke...@hotmail.com escribió: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Buenas... Ya me encontré. Para hacer lo que pide Ramses seria: export sship=`cat /var/log/auth.log | grep ssh | grep Accepted | head -1 |

Re: [OT] Personalizar fichero bash_history en Debian.

2012-07-13 Thread jmramirez (mas_ke_na)
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Ramses escribió: Buenas Veo que te ha gustado la idea, yo no tengo tanta experiencia como tú, pero intento aportarte otra ayuda, a ver si así puedes solucionar el tema del posible error al obtener sship: Que posible error? a mi no

Re: [OT] Personalizar fichero bash_history en Debian.

2012-07-13 Thread jmramirez (mas_ke_na)
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 jmramirez (mas_ke_na) escribió: Ramses escribió: Buenas Veo que te ha gustado la idea, yo no tengo tanta experiencia como tú, pero intento aportarte otra ayuda, a ver si así puedes solucionar el tema del posible error al obtener sship:

Re: [OT] Personalizar fichero bash_history en Debian.

2012-07-13 Thread Pablo Jiménez
, este no se registra en .bash_history, entonces solo queda registro de que estuvo, pero no qué hizo. Saludos. Buenas Eso es algo genérico del history, por lo que actúa como debe actuar. Un saludo Si, si. No digo que lo esté haciendo mal, sino que para la idea de saber quién hizo

Re: [OT] Personalizar fichero bash_history en Debian.

2012-07-13 Thread Camaleón
El Fri, 13 Jul 2012 12:44:59 +0200, Ramses II escribió: (...) ¿Habría alguna forma de que en el .bash_history anteponga/postponga a cada comando la IP de la Sesión que lo ejecutó? Pues no lo sé... pero sí podrías hacer algo sencillo que es activar la variable HISTTIMEFORMAT para registrar la

Re: [OT] Personalizar fichero bash_history en Debian.

2012-07-13 Thread Ramses
Buenas, Enviado desde mi Móvil El 13/07/2012, a las 18:40, Camaleón noela...@gmail.com escribió: El Fri, 13 Jul 2012 12:44:59 +0200, Ramses II escribió: (...) ¿Habría alguna forma de que en el .bash_history anteponga/postponga a cada comando la IP de la Sesión que lo ejecutó? Pues

zero size /root/.bash_history

2009-08-13 Thread paragasu
it is kind of weird when i checked my .bash_history, it is empty. #set give me HISTFILESIZE=500 HISTSIZE=500 right now it work normal. after my last login it is not zero size anymore. what i want to ask is, if the file (.bash_history) automatically empty after the filesize reach 500KB

Re: zero size /root/.bash_history

2009-08-13 Thread Sven Joachim
On 2009-08-13 10:00 +0200, paragasu wrote: it is kind of weird when i checked my .bash_history, it is empty. Did your computer crash recently? Some filesystems (e.g. ext4 before kernel 2.6.30) might cause empty files under some conditions. #set give me HISTFILESIZE=500 HISTSIZE=500

Re: zero size /root/.bash_history

2009-08-13 Thread paragasu
svenj...@gmx.de wrote: On 2009-08-13 10:00 +0200, paragasu wrote: it is kind of weird when i checked my .bash_history, it is empty. Did your computer crash recently? Some filesystems (e.g. ext4 before kernel 2.6.30) might cause empty files under some conditions. #set give me HISTFILESIZE=500

.bash_history duplicates

2008-11-26 Thread Robert Holtzman
I've been going thru a number of bash related web sites looking for the way to eliminate duplicates in ~/.bash_history. So far I've turned up export HISTCONTROL=ignoredups export HISTCONTROL=erasedups awk '!x[$0]++' .bash_history .bash.tmp mv -f .bash.tmp .bash_history export HISTCONTROL

Re: .bash_history duplicates

2008-11-26 Thread Nelson Castillo
On Wed, Nov 26, 2008 at 5:28 PM, Robert Holtzman [EMAIL PROTECTED] wrote: I've been going thru a number of bash related web sites looking for the way to eliminate duplicates in ~/.bash_history. So far I've turned up export HISTCONTROL=ignoredups export HISTCONTROL=erasedups awk '!x[$0

Re: .bash_history duplicates

2008-11-26 Thread Boyd Stephen Smith Jr.
On Wednesday 2008 November 26 16:28, Robert Holtzman wrote: I've been going thru a number of bash related web sites looking for the way to eliminate duplicates in ~/.bash_history. So far I've turned up I use: export HISTCONTROL=ignoredups:erasedups My .bash_history doesn't have any adjacent

Re: .bash_history duplicates

2008-11-26 Thread Michelle Konzack
Am 2008-11-26 15:28:47, schrieb Robert Holtzman: I've been going thru a number of bash related web sites looking for the way to eliminate duplicates in ~/.bash_history. So far I've turned up export HISTCONTROL=ignoredups export HISTCONTROL=erasedups awk '!x[$0]++' .bash_history .bash.tmp

Re: .bash_history duplicates

2008-11-26 Thread Robert Holtzman
On Wed, 26 Nov 2008, Boyd Stephen Smith Jr. wrote: On Wednesday 2008 November 26 16:28, Robert Holtzman wrote: I've been going thru a number of bash related web sites looking for the way to eliminate duplicates in ~/.bash_history. So far I've turned up I use: export HISTCONTROL

Chkrootkit reports Warning: `//root/.bash_history' file size is zero

2008-10-28 Thread Robert Schmidli
I got the above message last night from chkrootkit. I haven't touched my /root/.bash_history. Are there any programs that modify this? There's no other evidence of a break-in. I've confirmed that this file has zero size: # cd debian:~# ls -l .bash_history -rw--- 1 root root 0 Oct 28 08:03

Re: Chkrootkit reports Warning: `//root/.bash_history' file size is zero

2008-10-28 Thread Boyd Stephen Smith Jr.
On Tuesday 28 October 2008, Robert Schmidli [EMAIL PROTECTED] wrote about 'Chkrootkit reports Warning: `//root/.bash_history' file size is zero': I got the above message last night from chkrootkit. I haven't touched my /root/.bash_history. Are there any programs that modify this? bash

Re: recuperar lineas borradas del bash_history [ataque]

2008-09-09 Thread Marc Aymerich
lineas del bash_history y no hay forma de saber que es lo que estubieron haciendo. Por suerte, para dejarlo todo intacto, la maquina Xen fue apagada con un Destroy, así que ahora hay la oportunidad de hacer un analisis forense, lo que pasa esque no tengo ningun conocimiento sobre el tema

recuperar lineas borradas del bash_history [ataque]

2008-09-08 Thread Marc Aymerich
Muy buenas listeros, este fin de semana entraron en mi servidor de pruevas (la seguridad era de 'estar por casa'), presuntamente entraron para perpetar un ataque contra otras maquinas, lo malo esque borraron las últimas lineas del bash_history y no hay forma de saber que es lo que estubieron

Re: recuperar lineas borradas del bash_history [ataque]

2008-09-08 Thread Martin Spinassi
bash_history y no hay forma de saber que es lo que estubieron haciendo. Por suerte, para dejarlo todo intacto, la maquina Xen fue apagada con un Destroy, así que ahora hay la oportunidad de hacer un analisis forense, lo que pasa esque no tengo ningun conocimiento sobre el tema :( ¿Alguien podria

Re: recuperar lineas borradas del bash_history [ataque]

2008-09-08 Thread Salvador Garcia Z.
Marc Aymerich escribió: Muy buenas listeros, este fin de semana entraron en mi servidor de pruevas (la seguridad era de 'estar por casa'), presuntamente entraron para perpetar un ataque contra otras maquinas, lo malo esque borraron las últimas lineas del bash_history y no hay forma de saber que

Re: recuperar lineas borradas del bash_history [ataque]

2008-09-08 Thread nx
bash_history y no hay forma de saber que es lo que estubieron haciendo. Por suerte, para dejarlo todo intacto, la maquina Xen fue apagada con un Destroy, así que ahora hay la oportunidad de hacer un analisis forense, lo que pasa esque no tengo ningun conocimiento sobre el tema :( ¿Alguien podria orientarme en

Re: recuperar lineas borradas del bash_history [ataque]

2008-09-08 Thread Martin Spinassi
On Mon, 2008-09-08 at 23:58 +0200, nx wrote: Hola, por mi experiencia pienso que mas que borrar las últimas líneas del .bash_history lo que han hecho habrá sido un unset $HISTFILE, es más rápido y más limpio y no es posible su recuperación. Uff! no sabía eso, que pasada! Hay alguna forma

Re: recuperar lineas borradas del bash_history [ataque]

2008-09-08 Thread Salvador Garcia Z.
del bash_history y no hay forma de saber que es lo que estubieron haciendo. Por suerte, para dejarlo todo intacto, la maquina Xen fue apagada con un Destroy, así que ahora hay la oportunidad de hacer un analisis forense, lo que pasa esque no tengo ningun conocimiento sobre el tema :( ¿Alguien podria

Re: .bash_history deleted

2007-07-31 Thread Peter Jordan
. I have seen this today too, with my normal user account under X (debian lenny | kernel 2.6.22.1). I use a crypted ext3 file system. I worked in Eterm, and suddenly my history of the Eterm session was cut off (only the last 500 commands | LIMIT of the bash_history is 50.000) I think that Eterm

.bash_history deleted

2007-07-08 Thread Anna Machens
hey, (i'm using debian unstable ) i am totally confused. suddenly, my .bash_history file for root did not exist anymore. now, i've been checking for rootkits, sniffers, listening ports and all that, and did not find anything suspicious. is it possible, that the file could have been

Re: .bash_history deleted

2007-07-08 Thread Mathias Brodala
Hi Anna. Anna Machens, 08.07.2007 15:48: (i'm using debian unstable ) i am totally confused. suddenly, my .bash_history file for root did not exist anymore. That’s really odd; I experienced the same thing yesterday. Suddenly there was no history anymore but since then, the file has been

Re: .bash_history deleted

2007-07-08 Thread Eduard Bloch
Hi Anna. Anna Machens, 08.07.2007 15:48: (i'm using debian unstable ) i am totally confused. suddenly, my .bash_history file for root did not exist anymore. That’s really odd; I experienced the same thing yesterday. Suddenly there was no history anymore but since

Re: .bash_history deleted

2007-07-08 Thread steef
Eduard Bloch wrote: Hi Anna. Anna Machens, 08.07.2007 15:48: (i'm using debian unstable ) i am totally confused. suddenly, my .bash_history file for root did not exist anymore. That’s really odd; I experienced the same thing yesterday. Suddenly there was no history anymore

Re: .bash_history deleted

2007-07-08 Thread michael
Quoting Eduard Bloch [EMAIL PROTECTED]: I have seen this several times in the past, still having no idea how this happens. For a while I suspected bash_completion but I think I saw this also without bash_completion. Finally I am suspecting the filesystem journaling doing weird

Warning: `//root/.bash_history' file size is zero

2006-11-07 Thread Geoff Thurman
Hello,I'm running sarge.I rebooted this morning and root's bash history disappeared. I have a mail from a chkrootkit run by cron just before the reboot, and this doesn't flag it up, but a manual chkrootkit run just after the reboot did - that's how I discovered it. I can't see anything suspicious

Re: Warning: `//root/.bash_history' file size is zero

2006-11-07 Thread Geoff Thurman
Oops; sorry about the line-length.

Re: .bash_history

2005-12-01 Thread anoop aryal
' in 'man bash'. I assume that my .bash_history gets converted to binary at some point by bash. I can see that bash is using .bash_history now, but it's not clear why the file should become binary on my system. Adam anoop. -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject

Re: .bash_history

2005-11-22 Thread Adam Hardy
C. Chad Wallace on 22/11/05 02:38, wrote: Stephen Rueger wrote: Adam Hardy [EMAIL PROTECTED] writes: This used to work until recently when I found that the .bash_history had been transformed into a data file, instead of the ASCII text that I was used to. How exactly did you find that out

Re: .bash_history

2005-11-21 Thread Clive Menzies
On (20/11/05 21:41), Ralph Katz wrote: On 11/20/2005 05:20 PM, Adam Hardy wrote: I rely on .bash_history alot to remind me what command syntax to use - I don't scroll back thro the history with the up button, I just grep the .bash_history file for the command I want to run. This used

Re: .bash_history

2005-11-21 Thread Alex Malinovich
On Sun, 2005-11-20 at 23:45 +, Oliver Lupton wrote: On Sun, 20 Nov 2005 22:17:59 + Adam Hardy [EMAIL PROTECTED] wrote: I rely on .bash_history alot to remind me what command syntax to use - I don't scroll back thro the history with the up button, I just grep the .bash_history

Re: .bash_history

2005-11-21 Thread Adam Hardy
Clive Menzies on 21/11/05 10:23, wrote: On (20/11/05 21:41), Ralph Katz wrote: On 11/20/2005 05:20 PM, Adam Hardy wrote: I rely on .bash_history alot to remind me what command syntax to use - I don't scroll back thro the history with the up button, I just grep the .bash_history file

Re: .bash_history

2005-11-21 Thread Roberto C. Sanchez
On Mon, Nov 21, 2005 at 10:00:33PM +, Adam Hardy wrote: thanks for the tips about C-r Is there some sort of documentation on this? I'd like to see how much history it keeps. It's a seperate program from history, right? HISTSIZE The number of commands to remember

Re: .bash_history

2005-11-21 Thread Adam Hardy
the command from the history list. OK thanks. I assume that my .bash_history gets converted to binary at some point by bash. I can see that bash is using .bash_history now, but it's not clear why the file should become binary on my system. Adam -- To UNSUBSCRIBE, email to [EMAIL

Re: .bash_history

2005-11-21 Thread Stephen Rueger
Adam Hardy [EMAIL PROTECTED] writes: This used to work until recently when I found that the .bash_history had been transformed into a data file, instead of the ASCII text that I was used to. How exactly did you find that out? If it's merely because grep says something like binary file

Re: .bash_history

2005-11-21 Thread C. Chad Wallace
Stephen Rueger wrote: Adam Hardy [EMAIL PROTECTED] writes: This used to work until recently when I found that the .bash_history had been transformed into a data file, instead of the ASCII text that I was used to. How exactly did you find that out? If it's merely because grep says something

.bash_history

2005-11-20 Thread Adam Hardy
I rely on .bash_history alot to remind me what command syntax to use - I don't scroll back thro the history with the up button, I just grep the .bash_history file for the command I want to run. This used to work until recently when I found that the .bash_history had been transformed

Re: .bash_history

2005-11-20 Thread Oliver Lupton
On Sun, 20 Nov 2005 22:17:59 + Adam Hardy [EMAIL PROTECTED] wrote: I rely on .bash_history alot to remind me what command syntax to use - I don't scroll back thro the history with the up button, I just grep the .bash_history file for the command I want to run. This used to work until

Re: .bash_history

2005-11-20 Thread Ralph Katz
On 11/20/2005 05:20 PM, Adam Hardy wrote: I rely on .bash_history alot to remind me what command syntax to use - I don't scroll back thro the history with the up button, I just grep the .bash_history file for the command I want to run. This used to work until recently when I found

mc spinnt, bash_history

2005-05-05 Thread Florian (flobee)
Hallo Der mc produziert nach beenden mit F10 immer komische Steuerzeichen in meine bash_history. beispiel: PROMPT_COMMAND='pwd7;kill -STOP $$' cd `echo -e '\057'` PROMPT_COMMAND='pwd7;kill -STOP $$' Kann man das abstellen? Gruß Florian -- Haeufig gestellte Fragen und Antworten (FAQ): http

Re: mc spinnt, bash_history

2005-05-05 Thread Jens Schüßler
* Florian (flobee) [EMAIL PROTECTED] [05-05-05 18:57]: Hallo Der mc produziert nach beenden mit F10 immer komische Steuerzeichen in meine bash_history. beispiel: PROMPT_COMMAND='pwd7;kill -STOP $$' cd `echo -e '\057'` PROMPT_COMMAND='pwd7;kill -STOP $$' Kann man das abstellen

Re: mc spinnt, bash_history

2005-05-05 Thread Jens Schüßler
export HISTIGNORE=*PROMPT*:[ ]cd* ^^ Sorry, da fehlt ein '' -- Haeufig gestellte Fragen und Antworten (FAQ): http://www.de.debian.org/debian-user-german-FAQ/ Zum AUSTRAGEN schicken Sie eine Mail an [EMAIL PROTECTED] mit dem Subject unsubscribe. Probleme? Mail

Re: mc spinnt, bash_history

2005-05-05 Thread Dirk Salva
On Thu, May 05, 2005 at 06:57:41PM +0200, Florian (flobee) wrote: Der mc produziert nach beenden mit F10 immer komische Steuerzeichen in meine bash_history. beispiel: PROMPT_COMMAND='pwd7;kill -STOP $$' cd `echo -e '\057'` PROMPT_COMMAND='pwd7;kill -STOP $$' Machte meiner auch, sobald ich

Re: mc spinnt, bash_history

2005-05-05 Thread Florian (flobee)
Dirk Salva wrote: On Thu, May 05, 2005 at 06:57:41PM +0200, Florian (flobee) wrote: Der mc produziert nach beenden mit F10 immer komische Steuerzeichen in meine bash_history. beispiel: PROMPT_COMMAND='pwd7;kill -STOP $$' cd `echo -e '\057'` PROMPT_COMMAND='pwd7;kill -STOP $$' Machte meiner auch

bash_history vide

2004-06-01 Thread Nicolas
Bonjour, bonsoir En voulant chercher dans l'historique du shell de mon super utilisateur, je me suis rendu compte que son bash_history était à poil. Il s'agit bien d'un fichier régulier, pas un lien vers /dev/null. Ma sarge est à jour (plus exactement, de la veille ;). Pensez vous que je devrais

Re: Hacked: .bash_history linked somewhere

2003-11-08 Thread Greg Folkert
On Fri, 2003-11-07 at 13:45, Mike Egglestone wrote: Hi, My server was trojaned recently, not sure how. It looks like /bin/ps was modified or replaced with a trojan. The /root/.bash_history file is set to this: chsslx1:~# ls -la .bash_history -rw-r--r--1 root root0 Nov

Hacked: .bash_history linked somewhere

2003-11-07 Thread Mike Egglestone
Hi, My server was trojaned recently, not sure how. It looks like /bin/ps was modified or replaced with a trojan. The /root/.bash_history file is set to this: chsslx1:~# ls -la .bash_history -rw-r--r--1 root root0 Nov 7 05:31 .bash_history and I can't edit it or delete

Re: Hacked: .bash_history linked somewhere

2003-11-07 Thread Erik Steffl
Mike Egglestone wrote: Hi, My server was trojaned recently, not sure how. It looks like /bin/ps was modified or replaced with a trojan. The /root/.bash_history file is set to this: chsslx1:~# ls -la .bash_history -rw-r--r--1 root root0 Nov 7 05:31 .bash_history and I can't

Re: Hacked: .bash_history linked somewhere

2003-11-07 Thread Andreas Janssen
Hello Mike Egglestone ([EMAIL PROTECTED]) wrote: My server was trojaned recently, not sure how. It looks like /bin/ps was modified or replaced with a trojan. The /root/.bash_history file is set to this: chsslx1:~# ls -la .bash_history -rw-r--r--1 root root0 Nov 7 05

Re: Hacked: .bash_history linked somewhere

2003-11-07 Thread Mike Egglestone
Quoting Andreas Janssen [EMAIL PROTECTED]: Maybe the file is immutable. Check with lsattr .bash_history You can use chattr to change it: chattr -i .bash_history Yes, that was it. It had a bunch of those permissions set. I chattr'd them all to off, and the file returned to normal. Thank

Re: Hacked: .bash_history linked somewhere

2003-11-07 Thread J. Bruce Fields
On Fri, Nov 07, 2003 at 10:45:32AM -0800, Mike Egglestone wrote: Hi, My server was trojaned recently, not sure how. It looks like /bin/ps was modified or replaced with a trojan. Out of curiosity--how can you tell? The /root/.bash_history file is set to this: chsslx1:~# ls -la

Re: Hacked: .bash_history linked somewhere

2003-11-07 Thread Mike Egglestone
Quoting J. Bruce Fields [EMAIL PROTECTED]: On Fri, Nov 07, 2003 at 10:45:32AM -0800, Mike Egglestone wrote: Hi, My server was trojaned recently, not sure how. It looks like /bin/ps was modified or replaced with a trojan. Out of curiosity--how can you tell? I could tell because the ps

missing .bash_history file

2003-10-18 Thread Adam Podstawczyski
Hi, I use Debian unstable. After booting up the machine in the morning, I found that root's .bash_history file is missing. Suspecting a break-in, I searched for any other traces, examined all /var/log/* files thoroughly, did chkrootkit, tried to locate any suspicious-looking files, processes

/root/.bash_history ist leer

2002-08-26 Thread Martin Samesch
Hallo, nicht zum ersten Mal ist meine /root/.bash_history leer. Das letzte Mal liegt allerdings schon lange zurück. chrootkit (sid) hat davon abgesehen auch nichts unauffälliges entdeckt: Searching for anomalies in shell history files... Warning: `//root/.bash_history' file size is zero

.bash_history

2002-02-19 Thread Eric BERTHOMIER
Mon fichier .bash_history est créé avec les droits rw- --- --- or j'ai un umask de 022, comment puis je faire pour changer celà pour tous les utilisateurs actuels et à venir ? La solution chmod -R ... ne me plaît pas ... - /° Eric Berthomier (V)_

Re: .bash_history

2002-02-19 Thread Didier Link
Le Tue, 19 Feb 2002 à 11:45:25AM +0100, Eric BERTHOMIER a écrit : Salut, Mon fichier .bash_history est créé avec les droits rw- --- --- or j'ai un Ce fichier n'aurait pas ces droits là par défaut pour que les données des utilisateurs ne soient visibles que par eux par hasard ?? Ca ferait pas

Re: .bash_history

2002-02-19 Thread Eric BERTHOMIER
Le but est simplement que le serveur WINS puisse sauvegarder sans faire de message d'erreur sur ce genre de fichiers ...

Re: .bash_history

2002-02-19 Thread Didier Link
Le Tue, 19 Feb 2002 à 12:20:11PM +0100, Eric BERTHOMIER a écrit : Le but est simplement que le serveur WINS puisse sauvegarder sans faire de message d'erreur sur ce genre de fichiers ... Donc tu cherches à abaisser le niveau de sécurité de système au niveau d'un système Winxx ... ya pas

bash_history,Kill,cron, Intranets

2001-11-21 Thread daniel cabello
consulta 1 bas_history: un compañero y yo manejamos un linux potato, pero me rompe los esquemas que se ande fijando en el bash_history a ver lo que hago o no.(Les aseguro que no es con el animo de aprender) Pregunta: ¿Como puedo hacer para que no quede nada en el bash_history? Alguna sugerencia

Re: bash_history,Kill,cron, Intranets

2001-11-21 Thread Ignacio García Fernández
On Wed, Nov 21, 2001 at 05:32:37AM -0700, daniel cabello wrote: consulta 1 bas_history: un compañero y yo manejamos un linux potato, pero me rompe los esquemas que se ande fijando en el bash_history a ver lo que hago o no.(Les aseguro que no es con el animo de aprender) Pregunta: ¿Como

Re: Re: bash_history,Kill,cron, Intranets

2001-11-21 Thread Francisco Rivera
Bueno, si mal no recuerdo, lo que hacía en algún tiempo era borrar el contenido del archivo .bash_history que puedes encontrar en tu home. Ya si quieres, te creas un script que borre el contenido de este archivo, o que lo reempleace con un espacio. sale.. Ing. Francisco Rivera ScotiaBank

Re: Re: bash_history,Kill,cron, Intranets

2001-11-21 Thread Javier Donaire
El mié, 21-11-2001 a las 17:22, Francisco Rivera escribió: Bueno, si mal no recuerdo, lo que hacía en algún tiempo era borrar el contenido del archivo .bash_history que puedes encontrar en tu home. Ya si quieres, te creas un script que borre el contenido de este archivo, o que lo

Re: Re: bash_history,Kill,cron, Intranets

2001-11-21 Thread Antonio Castro
On Wed, 21 Nov 2001, Francisco Rivera wrote: Bueno, si mal no recuerdo, lo que hacía en algún tiempo era borrar el contenido del archivo .bash_history que puedes encontrar en tu home. Ya si quieres, te creas un script que borre el contenido de este archivo, o que lo reempleace con un

Re: bash_history,Kill,cron, Intranets

2001-11-21 Thread Carles Pina i Estany
bash_history a ver lo que hago o no.(Les aseguro que no es con el animo de aprender) Pregunta: ¿Como puedo hacer para que no quede nada en el bash_history? Alguna sugerencia PD: Puede ser que me este volviendo paranoico !!! *** *** La otra vez escuche algo de

Re: bash_history,Kill,cron, Intranets

2001-11-21 Thread Alfonso
Hola bas_history: un compañero y yo manejamos un linux potato, pero me rompe los esquemas que se ande fijando en el bash_history a ver lo que hago o no.(Les aseguro que no es con el animo de aprender) Pregunta: ¿Como puedo hacer para que no quede nada en el bash_history? Pues hay una variable de

Re: bash_history

2000-10-22 Thread Matthias Mann
PROTECTED] To: debian-user@lists.debian.org Sent: Sunday, October 22, 2000 12:16 AM Subject: Re: bash_history I think you can turn saving of the history on/off, see man bash: ... HISTSIZE The number of commands to remember in the command history (see

Re: bash_history

2000-10-21 Thread Matthias Mann
Yes this is a typo! Do you have any answere of my questions? - Original Message - From: Moritz Schulte [EMAIL PROTECTED] To: debian-user@lists.debian.org Sent: Friday, October 20, 2000 10:30 PM Subject: Re: bash_history Matthias Mann [EMAIL PROTECTED] writes: Is there a bug in bash

Re: bash_history

2000-10-21 Thread Erik Steffl
in which command history is saved (see HISTORY below). The default value is ß/.bash_history. If unset, the command history is not saved when an interactive shell exits. HISTFILESIZE The maximum number of lines contained

bash_history

2000-10-20 Thread Matthias Mann
Hi people! Is there a bug in bash (Debian 2.2.0 potato)? When i go as root into my system the bash don´t save anything to /root/bash_history. Is this a bug or default? If default, how can i configure my bash to save the history? Have a nice day! Matthias

Re: bash_history

2000-10-20 Thread Moritz Schulte
Matthias Mann [EMAIL PROTECTED] writes: Is there a bug in bash (Debian 2.2.0 potato)? When i go as root into my system the bash don´t save anything to /root/bash_history. Is this a typo? Bash's history should be in ~/.bash_history. moritz -- /* Moritz Schulte [EMAIL PROTECTED

bash_history from Cracked Computer

2000-05-03 Thread Dzuy M. Nguyen
Can someone help me figure out this "/.bash_history" from my computer that someone cracked into and did some damage. I'll probably re-install the box, but I'd like to see what they did before I destroy it. I've attached the "/.bash_history". Dzuy w ifconfig ls -la log

Re: bash_history from Cracked Computer

2000-05-03 Thread Matthew Dalton
a 'cat .bash_history', but didn't delete it. Maybe it's a forgery? Comments, people? Dzuy M. Nguyen wrote: Can someone help me figure out this /.bash_history from my computer that someone cracked into and did some damage. I'll probably re-install the box, but I'd like to see what they did

Re: bash_history from Cracked Computer

2000-05-03 Thread w trillich
if you run updatedb via cron (or run it from the shell by hand recently) it'll tell you if you have any of the evil files on your computer: locate pscan locate wuftp locate bnc2 locate .shit locate anatomy locate kod locate '/b$' if you find

Re: bash_history from Cracked Computer

2000-05-03 Thread Joey Hess
Dzuy M. Nguyen wrote: Can someone help me figure out this /.bash_history from my computer that someone cracked into and did some damage. I'll probably re-install the box, but I'd like to see what they did before I destroy it. I've attached the /.bash_history. Let's cut it down some.. cc

Re: bash_history from Cracked Computer

2000-05-03 Thread Dzuy M. Nguyen
the ports of the computers physically connected on this LAN? Should I be concerned with the security of the whole office now? - Original Message - From: w trillich [EMAIL PROTECTED] To: debian-user@lists.debian.org Sent: Tuesday, May 02, 2000 6:58 PM Subject: Re: bash_history from Cracked

Re: bash_history from Cracked Computer

2000-05-03 Thread Matthew Dalton
Dzuy M. Nguyen wrote: This linux box was plugged into the same LAN as our company NT Network. It wasn't setup to access the NT Network or be involved in it. It just get's it's TCP/IP signal from the LAN. And what about the internet connection? Are all of your NT boxes connected directly to

Re: bash_history from Cracked Computer

2000-05-03 Thread w trillich
Joey Hess wrote: Let's cut it down some.. cc anatomy.c -o anatomy cc kod.c -o kofd cp kofd kod rm kofd According to google, kod and kofd are related to the oracle database. It's possible this is a cooincidence, or he was using these names to try to appear innocous (weird choices

  1   2   >