Solved

mac OSX cannot edit smb.conf access is denied

Posted on 2010-08-23
9
905 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
6 Surprising Benefits of Threat Intelligence

All sorts of threat intelligence is available on the web. Intelligence you can learn from, and use to anticipate and prepare for future attacks.

 
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

How to run any project with ease

Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
- Combine task lists, docs, spreadsheets, and chat in one
- View and edit from mobile/offline
- Cut down on emails

Join & Write a Comment

Syslogd is a utility that traps and logs messages sent by running processes. It is configured with the syslog.conf file, which consists of lines containing a pair of fields: "the selector field which specifies the types of messages and priorities to…
iCloud Drive was introduced after iOS 8 was launched last year. This drive is Apple’s online storage device that lets users sync their files and access them from all their Apple devices.   There is a lot of data that is not automatically backed up…
Excel styles will make formatting consistent and let you apply and change formatting faster. In this tutorial, you'll learn how to use Excel's built-in styles, how to modify styles, and how to create your own. You'll also learn how to use your custo…
This video explains how to create simple products associated to Magento configurable product and offers fast way of their generation with Store Manager for Magento tool.

746 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

11 Experts available now in Live!

Get 1:1 Help Now