From owner-freebsd-questions Wed Oct 18 9:51: 4 2000 Delivered-To: freebsd-questions@freebsd.org Received: from dynamictrade.com (node-d8e93fd2.powerinter.net [216.233.63.210]) by hub.freebsd.org (Postfix) with SMTP id 5B26337B4C5 for ; Wed, 18 Oct 2000 09:51:01 -0700 (PDT) Received: (qmail 15490 invoked from network); 18 Oct 2000 16:44:16 -0000 Received: from tyr.internal.3.168.192.in-addr.arpa (HELO dynamictrade.com) (192.168.3.213) by mailhost.internal with SMTP; 18 Oct 2000 16:44:16 -0000 Message-ID: <39EDD3F1.87C50BB@dynamictrade.com> Date: Wed, 18 Oct 2000 11:46:41 -0500 From: john b p melesky X-Mailer: Mozilla 4.75 [en] (X11; U; Linux 2.2.12 i386) X-Accept-Language: en MIME-Version: 1.0 To: media@ct1.nai.net Cc: FreeBSD questions Subject: Re: fortune stopped working on login References: Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG > From the user prompt, the command fortune works (ie. it generates a quote). > This seems true for all games, eg. hangman will run as user, but won't run > as root. This is probably due to a difference in the $PATH environment variable (should be set in your .login, or .profile, or whatever appropriate file for your shell). From a user account, type 'whereis fortune' -- that will return the absolute path of your fortune executable. Then you can either move it (as root, not as a user), or extend root's path to include that directory. > However, I > cannot figure out _how_ root would have less permissions (although I can > see _why_). It is not uncommon for root to have a more restricted PATH, to keep people from accidentally running something potentially compromising as root. It is not a hard restriction, though, and everyone has a different opinion on the matter. -johnnnnnnn To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message