Computing.Net > Forums > Unix > Run an exe (owner -root) as other

Computer Problems? Computing.Net has over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to start participating now! Also, be sure to check out the New User Guide.

Run an exe (owner -root) as other

Reply to Message Icon

Name: Vinod
Date: November 25, 2004 at 22:15:25 Pacific
OS: UNIX
CPU/Ram: 256MB
Comment:

Hi,

I am running an shell script(owner - name1) which calls an executable (owner -root)during run time.The permissions of exe are -r-x------ and it cannot be changed.Also it can be run only as root.When I run the script I am getting an error saying that "You must be ROOT user in order to modify this file".

Problem: How can I run an executable which has permission to run as ROOT only by some other name through a shell script ?



Sponsored Link
Ads by Google

Response Number 1
Name: nails
Date: November 26, 2004 at 09:42:59 Pacific
Reply:

With sudo, you can assign execute privileges to files owned by other users - including root. Unfortunately, the package has to be installed and administered.

Here's the sudo home page:

http://www.courtesan.com/sudo/

Regards,


Nails


0
Reply to Message Icon

Related Posts

See More


Trying to write a script real player on Solaris Sp...



Post Locked

This post is quite old and has been locked from receiving new replies. Please create a new posting instead.


Go to Unix Forum Home


Sponsored links

Ads by Google


Results for: Run an exe (owner -root) as other

dll help www.computing.net/answers/unix/dll-help/1316.html

AIX 4 root password problems www.computing.net/answers/unix/aix-4-root-password-problems/5889.html

Running a shell script from cron www.computing.net/answers/unix/running-a-shell-script-from-cron/4091.html