i have been trying to figure out forever how to get root authentication via RB without going into a shell
example of doing it using shell:
dim mShell as new shell
mShell.Mode=1
mShell.Execute "echo myPassword | sudo -S su login root"
This leads to all kinds of security holes and problems though.
Below is a link to the current algorithm, it is almost fully functional. The issue i am having is with it handling a string the user inputs and passing it on to the shell
Check the RB algorithm here
[RB] Algorithm Issue
-
codemonkey
- Newbie
- Posts: 15
- Joined: Fri Feb 12, 2010 5:08 pm
- Contact:
Re: [RB] Algorithm Issue
Could be that the root password you're using is not the right password. Try the command in Terminal, see what errors it brings up.
-
codemonkey
- Newbie
- Posts: 15
- Joined: Fri Feb 12, 2010 5:08 pm
- Contact:
Re: [RB] Algorithm Issue
nah checked that. i think it might have to do with the carriage return but the mShell.WriteCHR(13) should have done that
Who is online
Users browsing this forum: No registered users and 33 guests
