BrokeBerry

Attack Computer Wiz

A Security & Technology Weblog
Showing posts with label Ubuntu. Show all posts

Installing and configuring Ubuntu with full disk encryption is quite simple if you follow the below steps:

  1. Download the alternative installation iso and burn it to disk. (LINK)
  2. Boot from disk and accept the basic language and region settings, stop at partitioner.
  3. Choose "Guided - use entire disk and set up encrypted LVM".
  4. Choose the the disk that you are going to partition.
  5. Select "Yes" to confirm and write changes.
  6. Enter your encryption password/pass phrase.
  7. Choose the disk size.
  8. Select "Yes" to confirm and write changes.
  9. Now continue as normal with the Ubuntu installation.

user Posted by Mike Wright

| More


Below are the easy steps to creating and sharing a folder on a Windows 7 system to be accessed from a Ubuntu 10.04 system, on the same network:

1. On your Windows 7 system, create a new folder or locate an existing folder to be shared.
2. Right click the folder and choose “Share With” “Specific People…”.
3. Type the user account of a user that has local rights on the Windows 7 Machine that you are using.
4. Change the permissions level on the right accordingly.
5. Click the “Share” button then click “Done”
6. On your Ubuntu 10.04 system, right click on your desktop and choose "Create Launcher.”
7. In the “Type” field, choose "Location"
8. In the "Name" field, type a name for your share.
9. In the "Location" filed, type “smb://username@IPAddress/share”
      Username = the username of your Windows 7 account you specified.
      IPAddress = the IP address of your Windows 7 Computer.
      Share = the name of the shared folder on your Windows 7 Computer.
      Example= smb://dave@192.85.45.2/pictures
10. Click the "OK" button and when prompted enter the password of your Windows 7 user account.
11. At that point the shared folder should be mounted on your Ubuntu 10.04 desktop and should show up under “Places”

user Posted by Mike Wright

| More


Below are the easy steps to creating and sharing a folder on a Ubuntu 9.10 system to be accessed from a Windows 7 system, on the same network:

  1. On your Ubuntu 9.10 system, create a new folder or locate an existing folder to be shared.
  2. Right click the folder and choose “Sharing Options”.
  3. Check the “Share this folder” box.
  4. Check the “Allow others to create and delete files in this folder” and “Guest access” boxes IF you want those features.
  5. Click the “Create Share” button.
  6. Click the “Add the permissions automatically” button
  7. If prompted to install Ubuntu components, do so, accepting the defaults, and restart your Ubuntu system if prompted.
  8. On your Windows 7 system, type the UNC path of your Ubuntu 9.10 system in the “run” field. You can see this by clicking the “Start” button. Type “\\IPAddress\share”

  9. IPAddress = the IP Address of your Ubuntu 9.10 computer.
    Share = the name of the shared folder on your Ubuntu 9.10 computer.
    Example = \\192.85.45.2\pictures

  10. Press the enter key and you will be prompted for a username and password of your Ubuntu 9.10 user account.
  11. After you have entered your credentials the folder will open and its contents displayed.
If you encounter an error after typing in your username and password, try rebooting your Ubuntu 9.10 computer and try to connect again.

user Posted by Mike Wright

| More


Below are the easy steps to creating and sharing a folder on a Windows 7 system to be accessed from a Ubuntu 9.10 system, on the same network:

  1. On your Windows 7 system, create a new folder or locate an existing folder to be shared.
  2. Right click the folder and choose “Share With” “Specific People…”.
  3. Type the user account of a user that has local rights on the Windows 7 Machine that you are using.
  4. Change the permissions level on the right accordingly.
  5. Click the “Share” button then click “Done”
  6. On your Ubuntu 9.10 system, click on “Places” then “Computer”
  7. In the “Location” field, type “smb://username@IPAddress/share”
  8. Username = the username of your Windows 7 account you specified.
    IPAddress = the IP address of your Windows 7 Computer.
    Share = the name of the shared folder on your Windows 7 Computer.
    Example= smb://dave@192.85.45.2/pictures
  9. Press the “Enter” key on your keyboard and when prompted enter the password of your Windows 7 user account.
  10. At that point the shared folder should be mounted on your Ubuntu 9.10 desktop and should show up under “Places”

user Posted by Mike Wright

| More


I have a network setup where there are mixed operating systems. I have specialized tasks that I like to use different systems for. One of which is web surfing on Ubuntu 8.04. Occasionally I find the need to save a file or two on this machine and I want to get it onto my Windows XP computer. It is easy enough to use external drives or thumb drives but why not just share a folder so that you can retrieve the files directly from your windows XP computer? Why not indeed!? *Note: Guide built for Ubuntu 8.04 with all updates as of 6/26/2008.


1. Open Synaptic Package Manger (System > Administration > Synaptic Package Manager).

2. Click on the “Search” button and perform a search for “nfs-common”.

3. Click on “nfs-common” and select “Mark for installation”, click the “Apply” button, and click the “Apply” button again to confirm. Close Synaptic.

4. Now browse to the folder that you want to share. Right click the folder and select “Share Options”.

5. The ‘File Manager – Folder Sharing’ window will now open. Check the “Share this folder” box and you will be informed that the sharing service is not installed.

6. Click the “Install service” button … NOW pay attention, proceed to step 7 and read it carefully.

7. Once the above service is done installing click the “Close” button, then click the “Cancel” button and restart your system. Do not continue until you restart your system!!!!

8. Once logged back in browse back to the folder and right click it again. Select “Share Options” and the ‘File Manger – Folder Sharing’ window will open again. Check the “Share this folder” box again and click the “Create share” button.


That was easy right! Much easier then it was in Ubuntu 7.10 in my opinion. Now in order to access the share that you just created, from your windows XP machine simple type in the network path and share name. In my example it would look like "\\192.168.1.2\share". You will need to type in your Ubuntu credentials to access the folder. You will only have read access to the folder.

Not good enough for you, you say? What’s that? You think that you should be able to not only access your files from XP but add, modify, and delete the files to? ..... Ok.

1. Back in your Ubuntu system, browse back to the shared folder and right click it again. Select “Share Options” and the ‘File Manger – Folder Sharing’ window will open again.

2. Check the box labeled “Allow other people to write to this folder” and click the “Modify share” button. You will now be prompted to accept the defaults to allow read, write, and execute by others. Click the “Add the permissions automatically” button to continue.

3. Now restart your system again.


You still need your Ubuntu credentials to access the share. I also like to create a shortcut to this share on my Windows XP desktop for easy access. That’s it, you now have a network share that you can read, write, and execute from a Windows Xp computer. Enjoy!

user Posted by Mike Wright

| More


We all have some things that we do so very infrequently that we have to go find a guide or walk through in order to figure out how we did, what we did, so long ago. I figure this is as good as a place as any to put some of these hardly needed but oh so valuable reminders.

Inherently Ubuntu will not mount multiple physical hard disk drives, so it takes a little tweaking to get your extra hard drive space to show up, but it really is quite simple and here are the steps; *Note: Guide built for Ubuntu 8.04.


1. Install the new hard disk drive in the computer and ensure that your jumper settings are correct.

2. Boot to Ubuntu and start GParted Partition Editor (System > Administration > Partition Editor).

a. If you don’t have it, install it using the Synaptic Package Manger (System > Administration > Synaptic Package Manager).

3. Choose the newly installed hard disk from the drop down list on the top-right. Remember that you will be formatting this drive, so make sure you are looking at the correct one!

4. Right click the “unallocated xxx.xx GB” graph and select “New” from the menu.

5. A window will pop-up for setting the disk label, just click “Create”.

6. Confirm by clicking “Create” again.

7. Click “New” – Here you will create a new partition. Use all space, which is default, ensure that it is set as a primary partition and the file system I use is ext3. Now click “Add”.

8. Click the “Apply” button and let the process run. At this point make a note of what your new partition is named. For demonstration purposes we will say that your new drive is named /dev/sdb1. From here on be sure that you change this to reflect what your partition label is.

9. Close GParted.

10. Open Terminal (Applications > Accessories > Terminal).

11. Create the Mount Point by typing:
sudo mkdir /hd2
12. Make a backup copy of your fstab file by typing:
sudo cp /etc/fstab /etc/fstab-bk
13. Open Gedit to edit the fstab file by typing:
sudo gedit /etc/fstab
14. Add the below line to the bottom of your ftsab file *Note: Where you see a space below, it is actually a TAB! Do not just cut and past the below:
/dev/sdb1 /hd2 ext3 defaults 0 0
15. Save your changes and close the editor.

16. Re-mount your drives by typing:
sudo mount –a
17. At this point you can access the new drive by clicking on Places > Computer > Filesystem > hd2. Once you open the hd2 folder you will find that it has X GB of free space, where X is the capacity of your drive.

18. Assign the proper permissions to write to the drive. You need to assign this to a user and for the below example the user name is mike:
sudo chown –R mike:mike /hd2
then type
sudo chmod –R 755 /hd2
19. Close Terminal.


You now have full use of your new hard disk drive accessible from a filer within Filesystem called hd2.

user Posted by Mike Wright

| More