Folgen Sie dem Video unten, um zu sehen, wie Sie unsere Website als Icon auf Ihrem Homescreen erstellen.
Anmerkung: This feature may not be available in some browsers.
1. Go to /System/Library/LaunchDaemons
2. Edit swat.plist
3. In the line directly under /usr/sbin/swat change the -d 10 to -a
4. Save the file.
5. Edit /etc/hostconfig
6. Change SMBSERVER=-NO- to SMBSERVER=-YES-
7. Save
8. Edit /etc/services
9. Find the line where port 901 is defined
10. delete the line where it says 901/udp
11. Change the 901/tcp line to read:
swat 901/tcp
12. Save the file
13. run /sbin/service swat start
14. reboot
15. goto http://localhost:901
NOTES:
-a tells swat to not ask for a password - BE Careful when turning this on! I will not be responsible for your use of this. Using this means that anyone using your Mac will be able to edit your smb.conf file! Note you won't be able to access swat from another machine.
I think the swat program does not know how to read netinfo for the password which is why the root account & password were always rejected. I need to RTFM on this. Having a hard time finding the FM though.
I don't know where apple got the -d 10 parm from. This switch is not in the swat manual.
Forgot to test to see if I can actually change any values when I use swat. But I can now access the smb.conf documentation easier.
Like I said above, I need to do more research on this.
Tja, da hat er wohl nicht sehr gründlich gelesen.I don't know where apple got the -d 10 parm from. This switch is not in the swat manual.