Permission Dilemma trying to edit
I am trying to edit the config file for samba, but I get a message saying I do not have permission to do so. I have also read logging in as root is a big no no and its nearly impossible to do so it seems on ubuntu anyway. Ubuntu is the version of linux im using. How can I get permission to edit the config file or do administrative things without logging in as root? I know you can use sudo and have permission to do many of things, but I am not sure how I can edit the contents of a file with that? I am new to linux.
Thanks |
I think Ubuntu uses gksu to allow you to obtain root perms for GUI tasks. So,something like
Code:
gksu gedit file.txt Code:
sudo vi file.txt |
Thanks. One other question now, how do I rename my hard drives so that both do not say "new volume". I have 2 500GB drives for storage that it automatically named "new volume".
|
you start a new thread
heheh :) |
All times are GMT -5. The time now is 08:05 PM. |