*BSD News Article 39439


Return to BSD News archive

Path: sserve!newshost.anu.edu.au!harbinger.cc.monash.edu.au!msunews!uwm.edu!caen!usenet.coe.montana.edu!bsd.coe.montana.edu!nate
From: nate@bsd.coe.montana.edu (Nate Williams)
Newsgroups: comp.os.386bsd.questions
Subject: Re: FreeBSD no root users and excution of files
Date: 13 Dec 1994 16:42:11 GMT
Organization: Montana State University, Bozeman  Montana
Lines: 30
Message-ID: <3ckit3$gks@pdq.coe.montana.edu>
References: <3cj2bc$ekm@sparc.occ.uky.edu>
NNTP-Posting-Host: bsd.coe.montana.edu

In article <3cj2bc$ekm@sparc.occ.uky.edu>,
Andy Beal <bealar@ndlc.occ.uky.edu> wrote:

>The root can execute anything runnable on the system, but other users, IE 
>my additional account, seem to have problems.  The most irritating is vi, 
>any account that is not root can't execute it.

As root:
# chmod 1777 /tmp /var/tmp

This was a bug in the earlier installation floppies.

>Several other files that have rx permissions to user, group, and other 
>seem to have the same type of problem.  I usually get an unable to locate 
>filename, unless I am root.

Is the path in the user account setup to look in the same places as
root?  If those programs aren't in the path, it's either a
mis-configuration OR that those files don't need to be run by non-root
users.  I generally ignore that 'help', and put all binary directories
in my path and let the program complain if I shouldn't run it. :-)


Nate

-- 
nate@bsd.coe.montana.edu     |  FreeBSD dude and all around tech.
nate@cs.montana.edu          |  weenie.
work #: (406) 994-5980       |  Unemployed, looking for permanant work in
home #: (406) 586-0579       |  CS/EE field.