PDA

View Full Version : slimserver corrupted?



Jason
2004-12-31, 11:24
Everything you did should be in the history file of the box. Maybe if you
recovery the history of the commands you ran we can assist you in fixing the
problem so you don't have to do a reload.

> -----Original Message-----
> From: discuss-bounces (AT) lists (DOT) slimdevices.com
> [mailto:discuss-bounces (AT) lists (DOT) slimdevices.com] On Behalf Of thnmnt
> Sent: Friday, December 31, 2004 10:52 AM
> To: Slim Devices Discussion
> Subject: [slim] slimserver corrupted?
>
> well thank you all for your help but i think i've pretty much
> cocked it all up. i didn't mention that kde fell apart as
> well and i've got all these bizarro depency problems trying
> to re-install it. this is as good a time as any to wipe the
> machine and have a go at a fresh install.
>
> the out of memory is strange since i've got 512 megs of ram
> and literally nothing else running. oh well. at least i know
> what i'm doing for the next 6 hours!
>
> --t
> ----- Original Message -----
> From: "Jack Coates" <jack (AT) monkeynoodle (DOT) org>
> To: "Slim Devices Discussion" <discuss (AT) lists (DOT) slimdevices.com>
> Sent: Friday, December 31, 2004 12:30 PM
> Subject: [slim] slimserver corrupted?
>
>
> > thnmnt wrote:
> > > last 10 lines of log are "Out of memory!" the one right
> before that is
> > > Adding:AlienBBC Home, index.html
> > >
> > > now i remember, that's what i was doing when all this
> went kablooey -
> during
> > > my fixit quest i removed the Alien directory from my
> plugins folder but
> > > nothing has helped.
> > >
> > > --t
> > >
> >
> > It does require a chunk of RAM, but that still seems odd.
> What does free
> > say?
> >
> > Another handy tip is top, then type M to sort by memory usage.
> > Slimserver will always be up near the top when it's running :)
> >
> > --
> > Jack at Monkeynoodle dot Org: It's a Scientific Venture...
> > Riding the Emergency Third Rail Power Trip since 1996!
> >

Jack Coates
2004-12-31, 11:29
Jason wrote:
> Everything you did should be in the history file of the box. Maybe if you
> recovery the history of the commands you ran we can assist you in fixing the
> problem so you don't have to do a reload.
>

each user has a history, which is in ~/.bash_history.

Neat security note, if you kill your own shell on exit then history
won't be written -- this is a good way to cover your tracks if/when
you're up to no good :)

--
Jack at Monkeynoodle dot Org: It's a Scientific Venture...
Riding the Emergency Third Rail Power Trip since 1996!

Jules Taplin
2004-12-31, 11:32
Hehe.

Personally, I prefer setting HISTCONTROL to 'ignorespaces'. That way...
any line you start with a space won't get written to history all all.
That way... you can be up to no good at the same time as getting
something sensible done, and the history will only record the
legititmate activity ;)


-- Jules

Jack Coates wrote:

> Jason wrote:
>
>> Everything you did should be in the history file of the box. Maybe
>> if you
>> recovery the history of the commands you ran we can assist you in
>> fixing the
>> problem so you don't have to do a reload.
>
>
> each user has a history, which is in ~/.bash_history.
>
> Neat security note, if you kill your own shell on exit then history
> won't be written -- this is a good way to cover your tracks if/when
> you're up to no good :)
>

Jack Coates
2004-12-31, 11:37
Jules Taplin wrote:
> Hehe.
>
> Personally, I prefer setting HISTCONTROL to 'ignorespaces'. That way...
> any line you start with a space won't get written to history all all.
> That way... you can be up to no good at the same time as getting
> something sensible done, and the history will only record the
> legititmate activity ;)
>
>
> -- Jules
>

that's a neat trick too, I like it... No suspicious gaps.

So the windows folks don't feel left out of this blackhat conversation,
did you know that back in the day when MacOS was a threat to Windows,
NTFS had alternate data stream support bolted on? Well it's still there,
forgotten and dangerous. Anything can be stored in them and will not be
visible until you consume all the disk space :)

--
Jack at Monkeynoodle dot Org: It's a Scientific Venture...
Riding the Emergency Third Rail Power Trip since 1996!