Ask Ubuntu is a question and answer site for Ubuntu users and developers. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

When I run echo $PATH, I only get the following: /usr/local/bin:/usr/bin:/bin

According to /etc/environment, I should be getting: /usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games

I noticed this because I wasn't to able to run a new game which I had just installed because /usr/games was not in my path.

My .profile and .bashrc are normal.

share|improve this question
By .profile and .bashrc being normal, I take it you mean you haven't done any changes to them? What about ~/.pam_environment? – geirha Apr 17 '11 at 13:38
up vote 1 down vote accepted

I have heard that this is because I have been using the experimental Gnome 3 PPA. Thanks for your help!

share|improve this answer
And i fixed this in gdm 3.0.4-0ubuntu6 :-) – Jeremy Bicha Jul 31 '11 at 11:24

Normal (non-admin) users only get access to "bin" directories and not "sbin" directories - because "sbin" directories hold system management programs that standard users should not execute (and do not have permissions for anyway).

/usr/games is a legacy remnant and is no longer used.

share|improve this answer
Are you sure about /usr/games? It looks like all of my Ubuntu games are installed there. And on a different computer I see /usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games so I should be getting those directories also. – Jeremy Bicha Apr 16 '11 at 8:37
You are correct - Ubuntu still installs most games in /usr/games, while other operating systems (such as SuSE and Fedora) do not follow that convention any more. I don't think its of much use in the days of package management systems. – Guss May 13 '11 at 7:43

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.