root user access in unix
To access root user privileges in Unix,
sudo su
## prompts for password and grants access
sudo su -
## switch as root user without password
Related cards:
Passing objects using redirect_to
Scenario : You have some manipulation done in your controller action and redirect the user to another action after that. Now you want the output of the manipulation available in the page user is redirected to.
You can pass the object with redirec...
ssh login without password
Nothing new .. just a note to self about how easy this is
> ssh-keygen [Enter] [Enter] [Enter]
> ssh-copy-id -i ~/.ssh/id_rsa.pub user@remote-host
> ssh user@remote-host
apache configuration file location
There is no default location for apache configuration file (httpd.conf) as this can be configured. To know the location run the below commands.
ps -ef | grep apache
root 4053 1 0 06:26 ? 00:00:04 /usr/sbin/apache2 -k start
w...
install cisco vpn client on ubuntu
Ubuntu ships by default with the plugin for the Point-to-Point Tunneling Protocol (PPTP), but we need the plugin for the Cisco Compatible VPN (vpnc), that provides easy access to Cisco Connector based VPNs. To install the vpnc plugin, open your te...
unable to run package setup for sublime text
I've encountered the following error after installing Sublimetext2 from source on my ubuntu machine. The error says
unable to run package setup with list of packages
in a dialog box when sublime text is opened.
The issue is because of missing...
Adobe flash player installation in ubuntu chromium browser
For Chromium browser versions greater than 34, to use flash one must install Pepper flash.
For Ubuntu 14.04 or newer, run
sudo apt-get install pepperflashplugin-nonfree
sudo update-pepperflashplugin-nonfree --status
# to see what version of...