Thanks for the help so far.
Basically, what I have going is a script called "start-pppoe" that I execute as root from /usr/local/bin. All of the parameters and stuff for the DSL hook-up are already in that file. I edited it according to the help file that was on SBC's website (I actually couldn't believe they supported Linux.) I can execute this as a normal user, but I have to launch an xterm as root in order to gain access to the "start-pppoe." So, what I wrote so far are two scripts: one called "root" that I execute in an xterm which prompts me for a login. Then one called "dsl" that I launch once I am in a root xterm that changes directory to usr/local/bin and executes "start-pppoe." What I want to do is simply combine the "root" and "dsl" named scripts into one script so I can do everything in one shot. Is there a way to impliment or hardcode the root password into a script so I can just execute it, login, and launch my "start-pppoe" in one nice shot? I tried a script that I wrote to accomplish this, but it got me as far as the password login for root, and then it stopped. It wouldn't continue on and launch "start-pppoe." All it did ws what Bad Karma described. Once I closed the xterm window, it would run for some reason.
If you need more info, I can provide it, but I think that pretty much sums it up. Thanks for the help.
[ June 19, 2002: Message edited by: LorKorub ]