Restricting normal user account access on Ubuntu Server

Here’s a tip to restrict normal user account access so that common users may not be able to explore other directories beyond his/her own /home directory.

  • First you need to chmod all /home dir to 0700
  • Then, you need to set the default umask to 077, to do that, you ned to edit /etc/profile, and replace “umask 022” with “umask 077“.
  • Optionally, you can also update PAM configuration in /etc/pamd.d/common-session so that the line reads “pam_umask.so umask=077 usergroups“

The tips has been adapted from – superuser.com

CPU and Memory monitor on Ubuntu Panel and Unity on Ubuntu 11.04 Natty Narwhal

Unity users can easily monitor CPU and Memory usage by using indicator-sysmonitor application.

Conky mypapit ubuntu

To install it, you just need to add alexeftimie PPA repository using these simple command:

sudo add-apt-repository ppa:alexeftimie/ppa
sudo apt-get update
sudo apt-get install indicator-sysmonitor

Note that this doesn't work on previous Ubuntu 10.xx releases.

Alternatively, you can install Conky by running the command:
sudo apt-get install conky

Conky mypapit ubuntu

Installing GNOME 3 on Ubuntu 11.04 Natty Narwhal

Note that this is an unofficial way to install GNOME 3 on Ubuntu 11.04 (Natty Narwhal), things might be broken, so proceed with caution.

Step 1: Add GNOME 3 PPA repository
sudo apt-add-repository ppa:gnome3-team/gnome3

Then update the apt-get repository database by running:
sudo apt-get update

Step 2: Install the Gnome 3 Desktop environment using this command
sudo apt-get install gnome-desktop3

Note that this might screw up your installation, you’ve been warned.