A few more questions...

Suspended
Joined
18 Oct 2002
Posts
9,480
1. How do I log in as sudo so that I can update an application? I have installed Clam AV but it won't let me d/l the definitions unless I am root. I have tried running Clam from the Terminal but am not having any luck.

2. Is there a free space shredder for Ubuntu? If so, what's it called and how can it be installed?

TIA
 
There are a couple of options. First, the best way to run a graphical program as root is using gksudo instead of sudo. there are some things that the graphical prompt is better for. If that doesn't work you might have to run an X session as root. To do that you could boot from the failsafe option in Grub, then run
startx
When you're done log out to get back to the command line, and run
reboot
to reboot, obviously. ;)

There are a couple of other ways to do this, but this will do.

I haven't used Clam in a long time so I don't quite know how it works, but I wouldn't expect a well-established, well-respected program such as it to require you to use a GUI as root. Maybe it's actually something else that's wrong and this is just a symptom?

What is a free space shredder? Does it shred everything free periodically, or do you run it whenever you want something shredded? If you just want it from time to time there's is the program shred which is already installed by default in Ubuntu.

srm (Secure ReMove) is probably more like you're thinking. Install it with
sudo aptitude install secure-delete
It removes the file or files, then overwrites that area of the disk with gibberish.
 
Last edited:
Thanks :)

I am Googling for the shredder. I have come across references to it as though it's already built in but I can't seem to find it.

I'd like to have something to run periodically which overwrites free space on the drive, in the same way Eraser wipes free space in Windows for example.
 
I'd like to have something to run periodically which overwrites free space on the drive, in the same way Eraser wipes free space in Windows for example.

If you don't want your porn falling into the wrong hands, then full disk encryption is the best way.
 
Ubuntu offers home directory encryption in the installer. It's unlikely your goat porn or whatever else would be outside of /home anyway so it might be a good option. It's quick and fairly brain-dead to set up. :)
 
Seems I was wrong, it's not as easy as using TrueCrypt though ;)

I haven't tried TrueCrypt. Is it simpler than the following script?

Code:
#!/bin/bash

modprobe dm-crypt
modprobe aes-i586

cryptsetup -y luksFormat /dev/sda2
cryptsetup -y luksFormat /dev/sda3
cryptsetup luksOpen /dev/sda2 root
cryptsetup luksOpen /dev/sda3 swap

/arch/setup
 
Open the program called "Text Editor" and paste it in. Save it as whatever you like.

Right click on the saved file and select "Allow it to be executed" or whatever it says on the last tab. Then right click it and select run in terminal.

---OR---

The old fashioned way!

From the terminal
nano script.sh
paste the text
ctrl o
to save it
ctrl x
to exit
chmod +x script.sh
to change its mode to eXecutable
./script.sh
to execute.

:D
 
Back
Top Bottom