Author Topic: root access on SHELL  (Read 868 times)

fajar

  • Newbie
  • *
  • Posts: 1
root access on SHELL
« on: October 29, 2008, 09:52:38 AM »
how can I get root access on SHELL?
I try to run iptables command on SHELL,
SHELL"sudo iptables -A ....."
its ask me for root password

sorry my bad english.. :)

Linux Basic

root access on SHELL
« on: October 29, 2008, 09:52:38 AM »

arzon

  • Newbie
  • *
  • Posts: 1
Re: root access on SHELL
« Reply #1 on: January 01, 2012, 10:13:33 PM »
SHELL "echo " & " " & "<your_pass>" & " " & " | sudo -S <command>" WAIT

<your_pass> = fill with root/admin password
<command> = fill with linux command