mac OSX cannot edit smb.conf access is denied

Hi All I have MAC  OSX 10.5.8 and i am logged in as the administrator ( admin ) I try to edit with VI the /etc/smb.conf and it still tells me that I dont have the right acces ( you do not have proper access privilege ) ? I dont understand since I am logged in as admin .. anyone help...

thanks
thebodz99Asked:
Who is Participating?
 
strungConnect With a Mentor Commented:
I suspect theBodz99 didn't intend to close the question without assigning points to the correct answers.
0
 
strungCommented:
did you use SUDO?

i.e., after changing to the  etc directory, type

sudo pico smb.conf
0
 
jimmyray7Commented:
I'm not too familiar with user rights on OS X, but try running the editor as root with 'sudo vi /etc/smb.conf'.  Does that work?
0
The new generation of project management tools

With monday.com’s project management tool, you can see what everyone on your team is working in a single glance. Its intuitive dashboards are customizable, so you can create systems that work for you.

 
thebodz99Author Commented:
wow that was fast thanks I had to put sudo in front event thought I was logged in as admin !!! strange but it worked , thanks my friend ...
0
 
strungCommented:
Using SUDO logs you in as ROOT, which is a Superuser. More powerful than ADMIN.  Allows you to edit files owned by the system.


0
 
thebodz99Author Commented:
thanks a lot
0
 
jimmyray7Connect With a Mentor Commented:
author is attempting to close question without awarding points, after successful answers were given.  I suggest point split between jimmyray7 and strung
0
 
strungCommented:
I agree.
0
All Courses

From novice to tech pro — start learning today.