You know that in backtrack you are always root. You can't get out of the root and go to normal user or it might be difficult or something else.
So here are the steps to run a program from root:
1. Find the directory of the program. For e.g. for google chrome it is /opt/google/chrome
#cd /opt/google/chrome
#hexedit chrome
2. You will see hexadecimal program editor
3. Press tab to switch to ASCII
4. Ctrl+S to search for 'geteuid' and change it to 'getppid'
5. Ctrl+X and press Y for yes and see your program running in root
So here are the steps to run a program from root:
1. Find the directory of the program. For e.g. for google chrome it is /opt/google/chrome
#cd /opt/google/chrome
#hexedit chrome
2. You will see hexadecimal program editor
3. Press tab to switch to ASCII
4. Ctrl+S to search for 'geteuid' and change it to 'getppid'
5. Ctrl+X and press Y for yes and see your program running in root
No comments:
Post a Comment