The UNIX and Linux Forums  

Go Back   The UNIX and Linux Forums > Top Forums > Shell Programming and Scripting
.
google unix.com




View Single Post in the UNIX and Linux Forums - Click on the Thread or Permalink to View Entire Thread -->
  #1 (permalink)  
Old 08-29-2008
pradeepreddy pradeepreddy is offline
Registered User
  
 

Join Date: Aug 2008
Posts: 66
login into root from user and execute command through script

i have logged in as user.

I want to write a script to login into root and execute commands for eg. ifconfig or other command.

kindly help me out.