Solved

mac OSX cannot edit smb.conf access is denied

Posted on 2010-08-23
9
907 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
 

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
Enterprise Mobility and BYOD For Dummies

Like “For Dummies” books, you can read this in whatever order you choose and learn about mobility and BYOD; and how to put a competitive mobile infrastructure in place. Developed for SMBs and large enterprises alike, you will find helpful use cases, planning, and implementation.

 
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

Ransomware-A Revenue Bonanza for Service Providers

Ransomware – malware that gets on your customers’ computers, encrypts their data, and extorts a hefty ransom for the decryption keys – is a surging new threat.  The purpose of this eBook is to educate the reader about ransomware attacks.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
El capitan screen lock 7 62
mixing mac for outlook and mac for windows 5 72
El Capitan mail account woes 2 35
Auto CC in outlook for mac 2011 3 26
Do you come here a lot? Are you lazy like me and don't want to go through the "trouble" of having to click your Dock's Safari icon and then having to click your Experts Exchange Favorites bookmark to get here? Well then this article is for you.
In this article we have discussed about the OS X EI Capitan and how to fix Wi-Fi issue in OS X El Capitan. We have explained how to delete system level preferences and create a new Wi-Fi location to resolve Wi-Fi issue.
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 …
Along with being a a promotional video for my three-day Annielytics Dashboard Seminor, this Micro Tutorial is an intro to Google Analytics API data.

867 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

Need Help in Real-Time?

Connect with top rated Experts

21 Experts available now in Live!

Get 1:1 Help Now