Hi. I'm from Ubuntu and I'm used to "sudo" to do this kind of work.
Could you tell me is that good practice in OpenSolaris?

(I think you can backup the old file, then use "su" to be root, then
just use "cp" to overwrite that file. After that, don't forget to use
"exit" to be normal user back.
Also you can you "sudo cp new_file_path old_path" to execute this
piece of command. Remeber to user "su" then "visudo" to add your
account to sudoers.)

On Sat, May 9, 2009 at 9:07 PM, Higgins <joelc...@gmail.com> wrote:
> What is the best way to edit xorg.conf? Obviously I can't do this from my 
> user account because of privileges. I'd like to copy a new file over the 
> existing one if possible. I suppose I could pull up a terminal as root and go 
> vim xorg.conf but I'd like to know how to copy my new file over.
>
> :)
> --
> This message posted from opensolaris.org
> _______________________________________________
> opensolaris-discuss mailing list
> opensolaris-discuss@opensolaris.org
>



-- 
Cooky
Keep It Simple, Stupid
_______________________________________________
opensolaris-discuss mailing list
opensolaris-discuss@opensolaris.org

Reply via email to