Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 12 Feb 1997 18:27:25 -0800
From:      "Jeffrey J. Ayres" <JeffAyres@worldnet.att.net>
To:        freebsd-questions@freebsd.org
Subject:   Re:running programs using freebsd
Message-ID:  <33027C0D.1B46@worldnet.att.net>

next in thread | raw e-mail | index | archive | help
Subject: 
            Re: running programs with freebsd
       Date: 
            Thu, 13 Feb 97 00:30:01 +0000
       From: 
            "Jeffrey J. Ayres" <JeffAyres@worldnet.att.net>
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" <JeffAyres@worldnet.att.net>
Organization: 
            independent
         To: 
            Snob Art Genre <ben@narcissus.ml.org>
 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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?33027C0D.1B46>