The UNIX and Linux Forums  
Hello and Welcome from United States to the UNIX and Linux Forums! Thank You for Visiting and Joining Our Global Community.

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
to run sql as superuser Sreejith_VK Shell Programming and Scripting 4 04-28-2008 09:07 AM
SuperUser maconte UNIX for Dummies Questions & Answers 0 03-19-2007 01:36 PM
Need a help Please- runing the perderabos script datecalc alexcol Shell Programming and Scripting 1 02-22-2007 02:10 AM
Help on runing a script mig28mx UNIX for Dummies Questions & Answers 1 01-06-2006 05:24 PM
do i need this runing ? amicrawler2000 UNIX for Dummies Questions & Answers 2 10-16-2003 06:02 AM

Closed Thread
English Japanese Spanish French German Portuguese Italian Dutch Swedish Russian Norwegian Hungarian Hebrew Danish Bulgarian Greek Powered by Powered by Google
 
LinkBack Thread Tools Search this Thread Rate Thread Display Modes
  #1 (permalink)  
Old 07-06-2004
bcheaib bcheaib is offline
Registered User
  
 

Join Date: Jul 2004
Location: Beirut
Posts: 25
Exclamation runing a script as superuser

My first post:
in /etc/rc2.d i have a startup script: Script1.
if you run #>scirpt1 stop/start from any user other than root you will get u must be supper user to run this script. eventhough the rights are 777.
Question: how can i get my user_a be able to run this script to stop and start it without giving him the root password.

thanks in advance.
  #2 (permalink)  
Old 07-06-2004
Perderabo's Avatar
Perderabo Perderabo is offline Forum Staff  
Unix Daemon
  
 

Join Date: Aug 2001
Location: Ashburn, Virginia
Posts: 9,117
Get the freeware program called sudo. We have a lot of threads on sudo. Use our search function to find them for more info.
  #3 (permalink)  
Old 07-07-2004
bcheaib bcheaib is offline
Registered User
  
 

Join Date: Jul 2004
Location: Beirut
Posts: 25
Thanks a lot for your answer. But the problem is that our customer (the owner of the machine) does not allow us to install any freeware of extra tools for that. Can this be done via unix commands or script?
Meanwhile i will have a look about sudo for my records.
Thanks again
Closed Thread

Bookmarks

Tags
unix commands

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On




All times are GMT -4. The time now is 06:43 PM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited. Language Translations Powered by .
vBCredits v1.4 Copyright ©2007 - 2008, PixelFX Studios
The UNIX and Linux Forums Content Copyright ©1993-2009. All Rights Reserved.Ad Management by RedTyger

Content Relevant URLs by vBSEO 3.2.0