Ubuntu

Using SSH agent for sudo authentication on Ubuntu

Thanks to a post at http://www.drhevans.com/blog/posts/195-using-ssh-agent-for-sudo-authentication/ I got a starting point, however a few things didn't quite work out (I had to install checkinstall as a prerequisite and edit the client machine user's ssh config) so here's the adjusted instructions (updated Feb 2015).

Tags: 

Umask Values

Another post containg stuff I usually have to look for.

umask valuefile chmod valuedirectory chmod value
000666 rw-rw-rw-777 rwxrwxrwx
002664 rw-rw-r--775 rwxrwxr-x
022644 rw-r--r--755 rwxr-xr-x
027640 rw-r-----750 rwxr-x---
077600 rw-------700 rwx------
277400 r--------500 r-x------

Tags: 

Fix Grub (Again)

So thanks to Windows going screwy again I had to fix grub on my machine. So I can find these instructions again here they are:

  1. sudo mount /dev/sda4 /mnt
  2. sudo mount -o bind /dev /mnt/dev
  3. sudo mount -o bind /proc /mnt/proc
  4. sudo chroot /dev /bin/bash
  5. grub-install /dev/sda
  6. exit
  7. reboot

These instructions allow you to run grub-install in a chrooted environment.

Tags: 

Katana

Thanks to the guys and girl over at Hak5 I came across Katana. This allows several live images to be booted from the same USB drive - hence reducing the number of them I have to carry around.

All that's left is to get Ubuntu and of course SpinRite working, and as this is a work in progress post, these are some links I may need to find again:

Tags: 

VPS Setup Guide

Introduction

This is intended to be a very basic guide to getting a VPS up and going, it's aimed at the hobbiest who has enough linux knowledge to want to use a VPS but isn't quite sure how to go about getting it up and going. It assumes you'll be using an Ubuntu VPS from bitfolk, if this isn't the case then some of the things in this guide may be slightly off.

Tags: 

Subscribe to RSS - Ubuntu