71 Search results

For the term "change user p word".

Set BASH as Default Shell

Enter at the prompt $ bash If command not found error, install BASH # pkg_add -r -v bash Now find where BASH is installed $ which bash You should see (Ubuntu) /bin/bash Change shell to BASH $ chsh -s /bin/bash username username is your User Name You should see: Password: Provide your login password You’ll need to logout (exit) and...

Install Truecrypt

Note: When installing Truecrypt on a new linux system, the most common failure (install simply stops without an error message) is due to the permissions of the user. Make sure the user has been added to sudoers group and reboot (or logout and login again), or you will get the massage “user not in sudoers group”. Download Truecrypt Download signature...

ddclient for DynDNS Setup on Debian 7

# Configuration file for ddclient # # /etc/ddclient.conf ## ddclient configuration file daemon=600 # check every 600 seconds syslog=yes ## Default options protocol=dyndns2 ## Detect IP with our CheckIP server use=web, web=checkip.dyndns.com, web-skip=’IP Address’ server=members.dyndns.org # log update msgs to syslog mail-failure=user@gmail.com # Mail failed updates to user pid=/var/run/ddclient.pid # record PID in file. ## DynDNS username and password here...

Setup LAMP Server Debian 9 Apache 2.4 MarianDB Php 7

Prerequisite is a fresh remote server with Debian 9 Stretch installed and booted From remote terminal Block all traffic iptable -F iptables -P INPUT DROP iptables -P OUTPUT DROP iptables -P FORWARD DROP Create a User sudo useradd -d /home/username -m username Set the User’s Password sudo passwd username Add the User to the Admin Group sudo adduser username adm...

Cubox-i2 Config Setup

Download Gunnar Wolf’s Debian Wheezy https://people.debian.org/~gwolf/ Also working: Ubuntu sudo dd if=ubuntu-oneiric-freescale.img of=/dev/mmcblk0 Android 4.3 sudo dd if=beta-11-dec-2013-i2.img of=/dev/mmcblk0 Not working: Debian Jesse sudo dd if=debian-jessi-4-july-2014.img of=/dev/mmcblk0 Copy to SDmicro sudo dd if=cubox.img of=/dev/mmcblk0 password for root is cubox-i #vi /etc/apt/sources.list #deb http://download.solid-run.com/pub/solidrun/cubox/repo/debian cubox main #deb-src http://download.solid-run.com/pub/solidrun/cubox/repo/debian cubox main vi /etc/network/interfaces auto lo iface lo inet loopback allow-hotplug eth0 iface...

Setup a LAMP Server on Debian or Ubuntu

This setup is for Virtual Host server – not a dedicated server with a single domain SSH to your server ssh root@IP Update Debian/Ubuntu apt-get update && apt-get upgrade –show-upgraded -y Create User How To Create a User in Linux Setup SSH for Remote Access With GPG Keys – No Password How To Setup SSH for Remote Access IMPORANT –...

BASH Shell Notes

The BASH Environment BASH executes in this order /etc/environment /etc/profile /etc/bash.bashrc /home/user/.profile /home/user/.bashrc Interactive vs Non-interactive Shell interactive execution order: /etc/profile then the first readable of ~/.bash_profile, ~/.bash_login, and ~/.profile .profile – is read when an interactive login shell is started. /etc/profile ~/.bash_profile ~/.bash_login ~/.profile non-interactive execution order: /etc/bash.bashrc then ~/.bashrc ~/.bashrc – is read when a non-login interactive shell...

Harden WordPress Permissions

Harden WordPress chown [username]:www-data find /var/www/html/DOMAIN -type d -exec chmod 755 {} \; find /var/www/html/DOMAIN -type f -exec chmod 644 {} \; chmod 440 /var/www/html/DOMAIN/*.php chmod 450 -R /var/www/html/DOMAIN/wp-admin chmod 450 -R /var/www/html/DOMAIN/wp-includes chmod 440 /var/www/html/DOMAIN/.htaccess chmod 766 /var/www/html/DOMAIN/sitemap.* chmod 770 -R /var/www/html/DOMAIN/wp-content/uploads chmod 770 -R /var/www/html/DOMAIN/wp-content/upgrade chmod 750 -R /var/www/html/DOMAIN/wp-content/plugins (You could put all that in a script for...

Change Default Editor at System Level

In a terminal type sudo apt-get install vim sudo update-alternatives –config editor Follow the instructions to choose vim.basic – your display will vary Debian Ubuntu Change Default Editor Nano VI Gedit at System Level sudo vi /etc/vim/vimrc uncomment line 20 – syntax on logout & login

SEO Sitemap

What is a sitemap? A sitemap is a exactly what it says, a map of pages you want the search engines (and people) to know about. Generally they are for search engines to quickly read and index your site. A sitemap is more important for a new website or for a site with poorly designed navigation. But it is widely...