Changes between Version 2 and Version 3 of Paravmssh


Ignore:
Timestamp:
Apr 25, 2009, 9:57:32 AM (16 years ago)
Author:
meeg
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • Paravmssh

    v2 v3  
    2222root@myParaVM:~# adduser username
    2323}}}
    24 where username is preferrably your athena identity
     24where username is preferably your athena identity
    2525this will prompt you for a password and then for some personal information
    2626that does not matter for our purposes.
    27 In order to install software, we next need to add ourselves to the sudoers file.
     27
     28In order to install software, we next need to add ourselves to the sudoers file. If you chose an Ubuntu installation, you can do this by adding your user to the admin group, as follows:
     29{{{
     30root@myParaVM~# adduser <username> admin
     31}}}
     32
     33If you chose Debian, add yourself to /etc/sudoers:
    2834{{{
    2935root@myParaVM~# visudo
    3036}}}
    31 this opens /etc/sudoers using vi.
    32 if you are unfamiliar with original vi, you can type the following sequence of keys (where [enter] and [ctrl] stand for the enter and control keys and username is the username you just added:
     37this opens /etc/sudoers using an available text editor (probably nano if you're in Debian).
     38
     39If nano is used, it should be intuitive - add the following line at the end, save with Ctrl-O, and exit with Ctrl-X:
     40{{{
     41<username> ALL=(ALL) ALL
     42}}}
     43
     44If you are unfamiliar with original vi, you can type the following sequence of keys (where [enter] and [ctrl] stand for the enter and control keys and username is the username you just added:
    3345{{{
    344620j$a[enter]username[space][space][space][space]ALL=(ALL) ALL[esc]:wq[enter]
    3547}}}
    3648<do I actually want it to be username ALL=(ALL) ALL?>
    37 lastly, we need to start the ssh daemon:
     49
     50Lastly, we need to start the ssh daemon:
    3851{{{
    3952root@myParaVM~# /etc/sbin/sshd
    4053}}}
     54<what distribution is this valid in?>
    4155
    4256now open up another local terminal and try to ssh into your VM:
     
    4660and check that you can sudo:
    4761{{{
    48 username@myParaVM~$ sudo apt-get install emacs (or vim-gnome)
     62username@myParaVM~$ sudo -l
    4963}}}