Skip navigation

Monthly Archives: Czerwiec 2014

      visudo – allow user switch to sudo without typing password

 

      put line last in file

username ALL=(ALL) NOPASSWD: ALL

      Use OpenSSH Keys – leave passwords in safe

 

      generate password in putty or ssh-keygen

 

      secure .ssh/authorized_keys by at least

chmod 600 authorized_keys

    -rw——- 1 xxxx yyyyy 729 Jun 5 19:29 authorized_keys
    Install Webmin

echo "deb http://download.webmin.com/download/repository sarge contrib
deb http://webmin.mirror.somersettechsolutions.co.uk/repository sarge contrib" >> /etc/apt/sources.list
cd /root
wget http://www.webmin.com/jcameron-key.asc
apt-key add jcameron-key.asc
apt-get update
apt-get install webmin

%d blogerów lubi to: