-   Linux - Newbie (
-   -   Using Kate editor as root? (

guitarnix 09-17-2003 03:45 AM

Using Kate editor as root?
Okay, I know it is not good practice to login as root. So I often "su" when I use a terminal program. However, let's say I want to use the "Kate" editor to edit a config file... Is there a way to open the file and make changes in "Kate" as root even though I am logged in as a "regular" user?

lynch 09-17-2003 03:55 AM

Yes you can:[list=1][*]Open an xterm[*]type su -[*]enter root password[*]type kate filename[/list=1]
It works because I just tried it:)

guitarnix 09-17-2003 04:02 AM

Excellent, thanks for the quick reply!

ivanatora 09-18-2003 04:40 AM

You can also try
su -c "kate filename &"
In that case you'll have to enter root pssd. After you finish your job with kate the super user mode will be terminated, and you'll have a regular user permissions in the console.

All times are GMT -5. The time now is 04:39 AM.