Jump to content
InsanelyMac Forum
Sign in to follow this  
rogerdj

[Aiuto] Editare file .plist per Launch Agents (Lion Inside)

Recommended Posts

Dunque come tutti sappiamo Lion non supporta più nativamente il protocollo Samba....ma per chi come me lo usa tantissimo è un problema...quindi ho installato Samba 3 tramite Xcode e MacPorts ( un pò un casino)

 

ho un file .plist all interno di Libreria/launch agent

 

dovrebbe esser il comando per far si che al login si avvii samba3 da solo ...ma è un comando da terminale...ed è da super user...

ovviamente non va..perchè al 90 % manca la password..

 

quindi nella stringa come inserisco la password?

attualmente è cosi :

 

 

 

 

<?xml version="1.0" encoding="UTF-8"?>

<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">

<plist version="1.0">

<dict>

<key>KeepAlive</key>

<true/>

<key>Label</key>

<string>com.Rogerdj.samba3launcher</string>

<key>ProgramArguments</key>

<array>

<string>/opt/local/sbin/smbd</string>

<string>-D</string>

<string>&&</string>

<string>sudo</string>

<string>/opt/local/sbin/nmbd</string>

<string>-D</string>

</array>

<key>QueueDirectories</key>

<array/>

<key>RunAtLoad</key>

<true/>

<key>WatchPaths</key>

<array/>

</dict>

</plist>

 

 

grazie in anticipo.

Share this post


Link to post
Share on other sites
Advertisement
..

 

Dato che è una riciesta di aiuto aggiungiamo il TAG. [Aiuto]

 

Potresti attivare l'account root... (guarda la mia firma per il topic... non ho provato su lion),

ti dico ciò perche da root non hai bisogno di password...

 

Fabio

Share this post


Link to post
Share on other sites

non sarebbe male come soluzione.... solo che poi ....dovrei rivedere molte configurazioni....uso il protocollo samba per molte cose..ad esempio per la wii...film e roms..e solo per la wii dovrei editare tipo una decina di file...cambiando la stringa...perchè attualmente hanno il mio nome utente...non c'è modo di implementare la password in quel file '??

Share this post


Link to post
Share on other sites
non sarebbe male come soluzione.... solo che poi ....dovrei rivedere molte configurazioni....uso il protocollo samba per molte cose..ad esempio per la wii...film e roms..e solo per la wii dovrei editare tipo una decina di file...cambiando la stringa...perchè attualmente hanno il mio nome utente...non c'è modo di implementare la password in quel file '??

 

Non ho la minima idea se la cosa possa funzionare...

 

sudo

la tua password

/opt/local/sbin/nmbd

 

Fabio

Share this post


Link to post
Share on other sites

niente....non va...ho provato con automator.....ma mi da "verde" se il processo è avviato..se è da avviare me lo da rosso...infatti al riavvio messaggio di errore...

 

il comando che devo dare è

 

sudo /opt/local/sbin/smbd -D && sudo /opt/local/sbin/nmbd -D

Share this post


Link to post
Share on other sites
Guest
You are commenting as a guest. If you have an account, please sign in.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Sign in to follow this  

  • Recently Browsing   0 members

    No registered users viewing this page.

  • Posts

    • Good evening to all. So, I have an external 1TB seagate HD and it always reads normally, but now when I plug it into my HACK it just does not read, it does not even appear on the disk utility. The light always turns blue from the HD without blinking. However I plugged it into windows, on a macbook and it worked normally. I already formatted my hack but it did not work. Thank you in advance for the help and sorry my bad english   my kexts: AppleALC.kext FakeSMC.kext IntelGraphicsFixup.kext IntelMausiEthernet.kext Lilu.kext WhateverGreen.kext VoodooHDA.kext USBInjectAll.kext NvidiaGraphicsFixup.kext   GTX 1080 Windforce core i5 7º generation 8gb Ram H170M Plus BR    
    • WOL packet is reaching the machine from LAN and from WAN (set with port forwarding), tested with "nc -l -u 9".
    • For me the forum seems reasonably OK, except whenever I see the word 'LOADING' - like when clicking another page of a thread - when it just stops completely and never returns.   I use an adblocker, so adverts aren't slowing me down.  Browsing the forum indexes is not too bad, as is clicking to view any thread.  Ditto clicking a link in an email notification to go to a particular post in a thread.  Sometimes it takes maybe five seconds to load a page, which is a bit too long.  But it's not terrible.   But then whenever I click on any other thread page, which tries to do the in-page content load (without a full page refresh), I see LOADING and then nothing further happens, even after minutes.   It's definitely not related to which content is loaded, but rather how it is loaded.  For example if I go to the index for this forum, then click directly to page 11 of this thread, it loads in 1-5 seconds.  But if I click the link to page 11 within the thread, it never comes back.  I just see this, forever:     This stuck issue seems to me likely something broken (code or configuration?) rather than a general slowdown.  But maybe there's also a general slowdown, especially for those who are seeing adverts.
    • This is as far as I can get with the AMD kexts and the device ID added. They load but the frame buffer isn't loaded. I've tried loading all 7 frame buffers included in the X1000 kext with no luck. From the tests Gigamaxx did there seems to be more luck spoofing as Intel graphics there. More support may come from integrated Vega though, hard to tell.    
    • as documented here it is a sample rate standard and i have also tested it and i can confirm that it works with my audigy rx at least, i have to test it with other cards   https://github.com/audiojs/sample-rate


×