Solved

mac OSX cannot edit smb.conf access is denied

Posted on 2010-08-23
9
915 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
Create the perfect environment for any meeting

You might have a modern environment with all sorts of high-tech equipment, but what makes it worthwhile is how you seamlessly bring together the presentation with audio, video and lighting. The ATEN Control System provides integrated control and system automation.

 

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 250 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 250 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

Comprehensive Backup Solutions for Microsoft

Acronis protects the complete Microsoft technology stack: Windows Server, Windows PC, laptop and Surface data; Microsoft business applications; Microsoft Hyper-V; Azure VMs; Microsoft Windows Server 2016; Microsoft Exchange 2016 and SQL Server 2016.

Question has a verified solution.

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

Suggested Solutions

If you other experts are anything like me you are always looking into and testing out new features. While I was doing some research one day I ran across an app that I installed on my Mac and used as a security system. Mac OS X: SecureHome uses your …
This article describes in detail how to set up the iPad in the Enterprise using iPCU aka iPhone Configuration Utility.  This could also be used for the iPhone although I have not detailed out any differences. Preparation as an iPad Administrator:…
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 …
A short tutorial showing how to set up an email signature in Outlook on the Web (previously known as OWA). For free email signatures designs, visit https://www.mail-signatures.com/articles/signature-templates/?sts=6651 If you want to manage em…

820 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