From owner-freebsd-questions Wed Feb 12 17:24:35 1997 Return-Path: Received: (from root@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id RAA08761 for questions-outgoing; Wed, 12 Feb 1997 17:24:35 -0800 (PST) Received: from mtigwc02.worldnet.att.net (mailhost.worldnet.att.net [204.127.131.34]) by freefall.freebsd.org (8.8.5/8.8.5) with ESMTP id RAA08756 for ; Wed, 12 Feb 1997 17:24:32 -0800 (PST) Received: from LOCALNAME ([207.116.71.34]) by mtigwc02.worldnet.att.net (post.office MTA v2.0 0613 ) with SMTP id AAA25756 for ; Thu, 13 Feb 1997 01:23:59 +0000 Message-ID: <33027C0D.1B46@worldnet.att.net> Date: Wed, 12 Feb 1997 18:27:25 -0800 From: "Jeffrey J. Ayres" Organization: independent X-Mailer: Mozilla 3.01Gold (Win16; I) MIME-Version: 1.0 To: freebsd-questions@freebsd.org Subject: Re:running programs using freebsd Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-questions@freebsd.org X-Loop: FreeBSD.org Precedence: bulk Subject: Re: running programs with freebsd Date: Thu, 13 Feb 97 00:30:01 +0000 From: "Jeffrey J. Ayres" Organization: independent To: freebsd_questions@freebsd.org References: 1 > "You have your mind on computers, it seems." Subject: Re: running programs with freebsd Date: Wed, 12 Feb 1997 16:17:33 -0800 From: "Jeffrey J. Ayres" Organization: independent To: Snob Art Genre References: 1 Snob Art Genre wrote: > > On Wed, 12 Feb 1997, Jeffrey J. Ayres wrote: > > > Snob Art Genre wrote: > > Hello again, > > It seems I am to be denied. The following is a rendition of the > > session attempting to enable a game program > > > > login:jayres > > psswd:******* > > . > > . > > . > > myname:{1}~/.pathname > > //jayres/.pathname: Command not found > > Huh? > > > myname:{2}/usr/src/games/quiz > > /usr/src/games/quiz: Permission denied > > myname:{3}cd /usr/src/games/quiz > > myname:{4}./quiz > > /quiz: Permission denied > > Okay, the perms are wrong. Log in as root, or su to root; cd /usr/games; > and change the modes appropriately. > > > myname:{5} ~/.profile > > //jayres/.profile: Permission denied. > > This is a text file, it's not supposed to be executable. The above is > the correct behavior. > > > myname:{6} cd /etc > > myname:{7} vi profile > > The profile file only had one path listed in the file > > You don't need to change paths there, do it in your own .profile in your > home directory. > > > ... > > #For full locales list check /usr/share/locale/* ... > > > > this path did not list games nor did it have my user ID this is probably > > not the path you were refering. > > I also edited the group file to include my user ID in the games group > > (edited before the above session). > > That's not necessary. > > > Does anyone have any suggestions concerning allowing permissions to use > > the games? > > I suggest you pick up a basic Unix book from O'Reilly, such as _Unix In a > Nutshell_, either that or read the man pages. > > Good luck & have fun. > > Ben > > "You have your mind on computers, it seems." Ben, Thank you for the prompt reply. The "hide" game seems to be somewhere in the hood where it can not be seen. The following is the most recent session attempting to run a program myname: {1}su myname: {1}cd /usr/games {2}ls hide {3}ls -l total 2 drwx------ 2 games bin 512 Feb 7 03:41 hide {4}chmod g+rwx hide {5}./hide ./hide:Permission denied {6}chmod o+rwx hide {7}./hide ./hide:Permission denied {8}ls -l drwxrwxrwx 2 games bin 512 Feb 7 03:41 hide {9}exit {2}/usr/games/hide usr/games/hide: Permission denied I changed my profile path to read C:usr/bin;...C://jayres;C:/usr/games My user ID was not previously in the path. A member mentioned adding "." to the path, should it appear C:. or C://jayres/.? I have three books describing UNIX. One books is the manual that was include with the CDrom, also "A Dos User's Guide to UNIX" and "UNIX and XENIX for Beginners". "A DOS User's Guide to UNIX" has a nice section on the "CHMOD" command. Once again the groups I belong to include wheel, bin, games, and a personal group jayres. I am still unable to access any of the game programs, I'm open for suggestions. Thanks, Jeff Ayres