GNU/Linux Desktop Survival Guide by Graham Williams |
|||||
Set up a basic system with ssh, wajig, emacs21, less, most, zile:
# apt-get install ssh wajig emacs21 less most zile |
Now copy a standard /etc/apt/sources.list from somewhere 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} . |