Solved

mac OSX cannot edit smb.conf access is denied

Posted on 2010-08-23
9
911 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
Complete VMware vSphere® ESX(i) & Hyper-V Backup

Capture your entire system, including the host, with patented disk imaging integrated with VMware VADP / Microsoft VSS and RCT. RTOs is as low as 15 seconds with Acronis Active Restore™. You can enjoy unlimited P2V/V2V migrations from any source (even from a different hypervisor)

 

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

Courses: Start Training Online With Pros, Today

Brush up on the basics or master the advanced techniques required to earn essential industry certifications, with Courses. Enroll in a course and start learning today. Training topics range from Android App Dev to the Xen Virtualization Platform.

Question has a verified solution.

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

Set up iPhone and iPad email signatures to always send in high-quality HTML with this step-by step guide.
Today, still in the boom of Apple, PC's and products, nearly 50% of the computer users use Windows as graphical operating systems. If you are among those users who love windows, but are grappling to keep the system's hard drive optimized, then you s…
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 …
Finds all prime numbers in a range requested and places them in a public primes() array. I've demostrated a template size of 30 (2 * 3 * 5) but larger templates can be built such 210  (2 * 3 * 5 * 7) or 2310  (2 * 3 * 5 * 7 * 11). The larger templa…

776 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