The macosxhints Forums

The macosxhints Forums (http://hintsforums.macworld.com/index.php)
-   Networking (http://hintsforums.macworld.com/forumdisplay.php?f=14)
-   -   Enabling FileSharing from the command line (http://hintsforums.macworld.com/showthread.php?t=12407)

tmeehan 06-11-2003 10:08 AM

filesharing
 
Thanks. I went looking for the hint you referenced - didn't find it. If you happen to know which hint it is, that would be great. Thanks

Accura 06-12-2003 11:03 AM

I'm sorry, i can't actually find the info about it. I also had a look and could not find the plist file that no doubt will need editing. you would think it would be /Library/Preferences/com.apple.sharing.plist but its not. I did find mention to com.apple.sharing.plist in another plist file (i think the SystemPreferences plist file) but could not locate it on the disk.

***bang head on desk***

On my os 10.2.6 the GUI will keep up with using SystemStarter

to quickly change the /etc/hostconfig file u can use this command

sudo perl -i~ -pe 's/AFPSERVER=-YES-/AFPSERVER=-NO-/' /etc/hostconfig

to change it back use

sudo perl -i~ -pe 's/AFPSERVER=-NO-/AFPSERVER=-YES-/' /etc/hostconfig

Have a good one

jameso

TechnoPhil 02-02-2011 03:57 AM

Hi there,
i would like to share some folders directly from the smb.conf!
I am able to do that with Linux, and in Mac OS the file is /etc/smb.conf

But where mac os puts the sharing folder settings when you edit the system preferences?

Anyway if i edit smb.conf i have to activate the sharing folder settings in mac system preferences, in order to see what i shared in smb.conf!
Why?

Also i have to activate the guest account (only sharing).

In linux you can do all of that simply editing the smb.conf and crate the sharing folders.

Maybe is the smbd service?
Is it possible to activate this service with terminal?

Thanks
Filippo

TechnoPhil 02-04-2011 02:03 AM

Help please!

TechnoPhil 02-14-2011 03:30 AM

Self answer!
Only copy & edit elsewere smb.conf (/etc/smb.conf)
Then:
sudo /usr/sbin/smbd -D -s /Users/username/Desktop/smb.conf

Haryer 03-05-2011 10:03 PM

Enabling FileSharing from the command line
 
C3100 with standard Sharp ROM

Can someone give me the required commands to start a specific wireless network connection from the command line please? I want to set up a script to do it.


All times are GMT -5. The time now is 09:30 PM.

Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.
Site design © IDG Consumer & SMB; individuals retain copyright of their postings
but consent to the possible use of their material in other areas of IDG Consumer & SMB.