Computing.Net > Forums > Unix > Running a shell script as root

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.

Running a shell script as root

Reply to Message Icon

Name: ohuang
Date: May 15, 2008 at 12:41:16 Pacific
OS: AIX 5.3
CPU/Ram: Unknown
Product: unknown
Comment:

I'd like to know that if there is a way in AIX to run a shell script as the 'root' user when the launching program is running as a normal non-root user?

Any help would be appreciated!

thanks.



Sponsored Link
Ads by Google

Response Number 1
Name: nails
Date: May 15, 2008 at 21:08:28 Pacific
Reply:

Check out the sudo utility:

http://www.sudo.ws/sudo/

Here's another useful link describing using sudo:

http://aplawrence.com/Basics/sudo.html


0

Response Number 2
Name: ohuang
Date: May 21, 2008 at 06:00:49 Pacific
Reply:

Thank you!


0

Sponsored Link
Ads by Google
Reply to Message Icon

Related Posts

See More







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: Running a shell script as root

Want to run a shell script through cron job www.computing.net/answers/unix/want-to-run-a-shell-script-through-cron-job/8446.html

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

Timer in a shell script www.computing.net/answers/unix/timer-in-a-shell-script/4097.html