srm or shred command SOLVED

Using applications, configuring, problems
Post Reply
Message
Author
User avatar
titus
Posts: 55
Joined: Wed 31 Oct 2007, 15:05
Location: 52.3483 -3.1983

srm or shred command SOLVED

#1 Post by titus »

Hello again,
Still delighted with my Slacko but I don't seem to be able to securely remove files. With other distros I've used the "shred" command or "srm" neither of which is apparently available in Slacko. What do you use, anyone?
Last edited by titus on Sat 13 Oct 2012, 16:09, edited 1 time in total.
Hey! I may be old, but I'm slow.

User avatar
SFR
Posts: 1800
Joined: Wed 26 Oct 2011, 21:52

#2 Post by SFR »

I simply took "shred" binary from Lupu-528.

Also, I came up with this once:

Code: Select all

SIZE=`du -b FILENAME | cut -f1` 
dd if=/dev/urandom of=FILENAME bs=1 count=$SIZE
but I'm still not sure if this really overwrites exactly the same sectors of a file..?

Greetings!
[color=red][size=75][O]bdurate [R]ules [D]estroy [E]nthusiastic [R]ebels => [C]reative [H]umans [A]lways [O]pen [S]ource[/size][/color]
[b][color=green]Omnia mea mecum porto.[/color][/b]

User avatar
titus
Posts: 55
Joined: Wed 31 Oct 2007, 15:05
Location: 52.3483 -3.1983

#3 Post by titus »

Thank you SFR,
That worked fine. I didn't have an ISO of Lupu but I found another distro, a Debian based one which provided the required bin.
Thanks again.
Hey! I may be old, but I'm slow.

Post Reply