[Last Call] Learn how to a build a cloud-first strategyRegister Now

x
?
Solved

mac OSX cannot edit smb.conf access is denied

Posted on 2010-08-23
9
Medium Priority
?
926 Views
Last Modified: 2013-11-12
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
Comment
Question by:thebodz99
  • 5
  • 2
  • 2
9 Comments
 
LVL 53

Expert Comment

by:strung
ID: 33504064
did you use SUDO?

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

sudo pico smb.conf
0
 
LVL 8

Expert Comment

by:jimmyray7
ID: 33504072
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
 
LVL 53

Expert Comment

by:strung
ID: 33504105
0
Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

 

Author Comment

by:thebodz99
ID: 33504165
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
 
LVL 53

Expert Comment

by:strung
ID: 33504225
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
 

Author Comment

by:thebodz99
ID: 33504236
thanks a lot
0
 
LVL 53

Accepted Solution

by:
strung earned 1000 total points
ID: 33504352
I suspect theBodz99 didn't intend to close the question without assigning points to the correct answers.
0
 
LVL 8

Assisted Solution

by:jimmyray7
jimmyray7 earned 1000 total points
ID: 33504374
author is attempting to close question without awarding points, after successful answers were given.  I suggest point split between jimmyray7 and strung
0
 
LVL 53

Expert Comment

by:strung
ID: 33504397
I agree.
0

Featured Post

Important Lessons on Recovering from Petya

In their most recent webinar, Skyport Systems explores ways to isolate and protect critical databases to keep the core of your company safe from harm.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

While there are many new features for iOS 11, these are the five that can improve your digital lifestyle.
This is a tech scam I recently helped my parents through.
This Micro Tutorial hows how you can integrate  Mac OSX to a Windows Active Directory Domain. Apple has made it easy to allow users to bind their macs to a windows domain with relative ease. The following video show how to bind OSX Mavericks to …
This lesson discusses how to use a Mainform + Subforms in Microsoft Access to find and enter data for payments on orders. The sample data comes from a custom shop that builds and sells movable storage structures that are delivered to your property. …

825 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question