PDA

View Full Version : Silly ? -- How do I run a script under Knoppix?



DougE
07-10-2004, 12:35 AM
:oops: I want to run a script under Knoppix, booted from cd. I have tried a couple of times and get the word that I need Root priveleges. I overcame this once by prefacing with sudo, so I am wondering if this will work again. Thanks.

j.drake
07-10-2004, 04:34 AM
Well, not all scripts need root privileges. For example, I can install Firefox, and run the shell script just by clicking it. 'Sudo' should execute one command as root. Type 'su' [return], and you're root for the remainder of the shell session. Alternatively, if you're working in KDE, you can sometimes define a root password by opening a shell and typing 'sudo passwd', and entering a password twice, then closing the shell. That way, if you're in KDE and something needs root privileges, it will ask for the root password, and you can enter what you defined.

jd