On  Fri 12/2/2005 4:53 PM Terry Liittschwager wrote:
> Let's say I'm using Kwrite to look at a configuration file from a non-root
> login, and I decide I want to change it.  When I go to save the change, I'm
> informed that I don't have permission.  At that point, what is the most
> efficient means to become root for the one act of saving the file?

In another shell you could chmod or chown the file, write it out, then
chmod or chown it back.

Or, you could write the modified file out to a new file, then mv the new
file to the old name.

HTH,
-larry

<<winmail.dat>>

____________________________________________________
Want to buy your Pack or Services from Mandriva? 
Go to http://store.mandriva.com
Join the Club : http://www.mandrivaclub.com
____________________________________________________

Reply via email to