You use
$ sudo editor file,
replacing "editor" with the editor you want to use and "file" with the file you want to edit, e.g.
$ sudo emacs /etc/samba/smb.conf.
Edit: "sudo" is used to give you root privileges, on distros other than (K)Ubuntu, you'd use "su".
Last edited by Nylex; 03-02-2006 at 01:32 AM.
|