• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 931
  • Last Modified:

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
0
thebodz99
Asked:
thebodz99
  • 5
  • 2
  • 2
2 Solutions
 
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
Ultimate Tool Kit for Technology Solution Provider

Broken down into practical pointers and step-by-step instructions, the IT Service Excellence Tool Kit delivers expert advice for technology solution providers. Get your free copy now.

 
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
 
strungCommented:
I suspect theBodz99 didn't intend to close the question without assigning points to the correct answers.
0
 
jimmyray7Commented:
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
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Ultimate Tool Kit for Technology Solution Provider

Broken down into practical pointers and step-by-step instructions, the IT Service Excellence Tool Kit delivers expert advice for technology solution providers. Get your free copy now.

  • 5
  • 2
  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now