Marketplace:

Buy cheap domains and domain transfer service with free domain hosting features
Affordable domain name hosting and webhosting for small business
Register cheap domain name by cheap-domainregistrar.com 

 

   

Account Configuration

next up previous contents index

Account Configuration

Set up a basic system with ssh, wajig, emacs21, less, most, zile:



  # apt-get install ssh wajig emacs21 less most zile


Now create or copy a standard /etc/apt/sources.list and get things on the road:



  # cp /etc/apt/sources.list /etc/apt/sources.list.original
  # scp athens:/etc/apt/sources.list /etc/apt/sources.list
  # wajig update
  # wajig dist-upgrade


Use visudo to set up wajig usage for a user:



  Cmnd_Alias APT = /usr/bin/apt-get, /usr/bin/apt-cache, /usr/bin/dpkg, \ 
                   /usr/sbin/dpkg-reconfigure, /usr/bin/dpkg-repack, \ 
                   /etc/init.d/*, /usr/sbin/update-alternatives, \ 
                   /usr/lib/apt-move/fetch, /usr/bin/dselect, \
                   /usr/bin/alien, /usr/sbin/apt-setup

  
  kayon ALL=(ALL) APT


Set up, for the user account, ssh for access to remote accounts if you like, to avoid repeatedly typing a password:

  $ ssh-keygen -t dsa
  ...accept the default file location
  ...enter a pass phrase - not too long
  $ scp .ssh/id_dsa.pub athens:.ssh/id_dsa.new
  $ ssh athens; cd .ssh; cat id_dsa.new >> authorized_keys
  $ ssh-agent bash
  $ ssh-add
  Enter passphrase for /home/kayon/.ssh/id_dsa: 
  Identity added: /home/kayon/.ssh/id_dsa (/home/kayon/.ssh/id_dsa)


Now copy setup files from remote hosts:

  $ scp athens:{.bashrc,.bash_profile,.emacs,.emacs-custom,.emacs-kayon} .
  $ scp athens:{.xsession,.Xresources} .


Copy the same files for root.


Copyright (c) 1995-2004

 

      

Marketplace:
Facts: " Anyone who considers arithmetical methods of producing random digits is, of course, in a state of sin.   "  

Saturday 6 September 2008 01:29:49 1220664589