Thread
:
Need help with this command
View Single Post
aeol
2010-09-04 , 08:11
Posts: 11 | Thanked: 1 time | Joined on Mar 2010
#
3
You can't get root privileges
inside
the script: it is very insecure. You should write instead
Code:
import os os.system('echo 78 > /abc/abc/bca')
or even better
Code:
open('/abc/abc/bca', 'w').write('78')
and run this script with root privileges
Quote & Reply
|
aeol
View Public Profile
Send a private message to aeol
Find all posts by aeol