LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - General (https://www.linuxquestions.org/questions/linux-general-1/)
-   -   Root Script (https://www.linuxquestions.org/questions/linux-general-1/root-script-235378/)

Boffy 09-26-2004 09:15 AM

Root Script
 
Would it be possible to create a script that will load up konqueror in SU mode. I know this is frowned upon since it means putting the root password in the script but if i set the permissions right only I and root can access it.

Boffy

XavierP 09-26-2004 09:33 AM

You're running Mandrake - in the menu there is the option to run Konq as Super User - it's called "File Manager - Super User Mode" or something similar. Basically, it's a shortcut with su rights.

Boffy 09-26-2004 09:44 AM

I used to have that but it was not here in 10. Anyway I want to create a script because it will save me typing the password in each time.

I have tried creating a script but I cant get it to type in the password for me.

homey 09-26-2004 09:46 AM

Also, you could right click on the Desktop / Create New
Link to Application...
In the Execute tab
Command: kdesu konqueror

You will need the root password when you go to use it.

Boffy 09-26-2004 02:48 PM

OK, is there anyway I can create a script avoiding me entering the password everytime?


All times are GMT -5. The time now is 05:29 AM.