How to enter root?

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • nawinjee
    New Member
    • Feb 2008
    • 1

    How to enter root?

    my program runs some system files but i am not able to run those files.it reports the following error when i try to execute them.....you must be root to execute........ ..so anyone help me how to enter root through perl program and run some system files.
  • KevinADC
    Recognized Expert Specialist
    • Jan 2007
    • 4092

    #2
    Move your perl script to where it is allowed to run as root. If you can't do that then you have to ask your system administrator to set it up for you.

    Comment

    • numberwhun
      Recognized Expert Moderator Specialist
      • May 2007
      • 3467

      #3
      Originally posted by KevinADC
      Move your perl script to where it is allowed to run as root. If you can't do that then you have to ask your system administrator to set it up for you.
      Agreed! Unfortunately, you cannot switch users in your Perl script(s). The security issue surrounding that is astounding.

      Regards,

      Jeff

      Comment

      Working...