The UNIX and Linux Forums  

Go Back   The UNIX and Linux Forums > Top Forums > UNIX for Dummies Questions & Answers
Google UNIX.COM


UNIX for Dummies Questions & Answers If you're not sure where to post a UNIX or Linux question, post it here. All UNIX and Linux newbies welcome !!

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
A program to trace execution of another program jiten_hegde High Level Programming 3 2 Weeks Ago 02:26 AM
How to write to stdin of another program (program A -> [stdin]program B) vvaidyan UNIX for Dummies Questions & Answers 3 4 Weeks Ago 02:21 PM
start a program with other user's permission srikanthus2002 Shell Programming and Scripting 3 05-21-2007 03:20 AM
Oracle 9i install: Error in invoking target install of makefile chris2005 HP-UX 5 02-21-2007 05:45 AM
How to know what program is install on Unix server? zp523444 UNIX for Dummies Questions & Answers 4 12-09-2005 12:49 PM

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 10-03-2007
Registered User
 

Join Date: Oct 2007
Posts: 25
Program permission (to install etc)

hi! all
i've setup my PC with FreeBSD 6.2 and i've created login ID for my friends
i would like to allow them to install program (since they're requesting to use bnc/psybnc) using their shell

however, they have encounter such error to install the program
Quote:
$ make menuconfig
Initializing Menu-Configuration[*] Running Conversion Tool for older psyBNC Data.
gcc:Permission denied
*** Error code 1

Stop in /usr/home/test/psybnc.
they have to sudo in order to run "make"

how is this possible for me to allow them to run the program by themself without assigning them to be in sudo group?

thanks all...
Reply With Quote
Forum Sponsor
  #2 (permalink)  
Old 10-03-2007
Registered User
 

Join Date: Jan 2007
Posts: 2,965
Quote:
Originally Posted by rdns View Post
how is this possible for me to allow them to run the program by themself without assigning them to be in sudo group?
They should install the program in a directory they are allowed to write into, such as one under their home directory.

However, as a system administrator, I suggest you ask people the programs they will want to run and you can decide which ones you install so they can all share them.
Reply With Quote
  #3 (permalink)  
Old 10-03-2007
Registered User
 

Join Date: Oct 2007
Posts: 25
hurm... i thougt it is gcc permission
the user cant even query the gcc version
Quote:
$ gcc --version
gcc: Permission denied
$
and i noticed this in gcc folder
Quote:
-rwxr-x--- 2 root compiler 187176 Apr 20 20:54 /usr/bin/gcc
how do i enable gcc permisson for them?
Reply With Quote
  #4 (permalink)  
Old 10-03-2007
Registered User
 

Join Date: Jan 2007
Posts: 2,965
chmod o+x /usr/bin/gcc

or add people to the compiler group.

Then have a look at the read permissions in /usr/include and /usr/lib
Reply With Quote
Google UNIX.COM
Reply

Thread Tools
Display Modes




All times are GMT -7. The time now is 01:23 PM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited.
The UNIX and Linux Forums Content Copyright ©1993-2008 The CEP Blog All Rights Reserved -Ad Management by RedTyger Visit The Global Fact Book

Content Relevant URLs by vBSEO 3.2.0