By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
455,852 Members | 1,426 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 455,852 IT Pros & Developers. It's quick & easy.

How to enter root?

P: 1
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.
Feb 13 '08 #1
Share this Question
Share on Google+
2 Replies


KevinADC
Expert 2.5K+
P: 4,059
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.
Feb 13 '08 #2

numberwhun
Expert Mod 2.5K+
P: 3,503
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
Feb 13 '08 #3

Post your reply

Sign in to post your reply or Sign up for a free account.