• Recent
    • Unsolved
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Register
    • Login

    Snap-in MSI with multiple files

    Scheduled Pinned Locked Moved
    General
    4
    12
    3.0k
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • Wayne WorkmanW
      Wayne Workman
      last edited by Wayne Workman

      I could cover how to make a samba share…

      on CentOS 7 and Fedora, the process is identical, just depending on how much security you want.

      yum install samba samba-client -y (or dnf for fedora 22 and newer).

      Start samba:
      systemctl start smb (status and restart also available).

      Make your share:
      mkdir /smallshare

      make a user for it:

      useradd smalluser
      passwd smalluser

      Set samba password for the user “small user”:

      smbpasswd -a smalluser

      Set permissions on the local directory:
      chown smalluser:smalluser /smallshare
      chmod 770 /smallshare

      Setup the samba configuration script:
      vi /etc/samba/smb.conf

      Things above [smallshare] are global and apply to all shares. Then below each bracket name, is settings specific to the share.

      security = user
      passdb backend = tdbsam
      unix charset = utf-8
      dos charset = cp932
      
      [smallshare]
      path = /smallshare
      read only = no
      create mode = 0777
      directory mode = 0777
      writable = yes
      valid users = smalluser
      

      Then restart samba:
      systemctl restart smb

      And you’re done.

      Of course you can get a lot more advanced, but this is just a basic password protected share.

      #wiki worthy

      Please help us build the FOG community with everyone involved. It's not just about coding - way more we need people to test things, update documentation and most importantly work on uniting the community of people enjoying and working on FOG!
      Daily Clean Installation Results:
      https://fogtesting.fogproject.us/
      FOG Reporting:
      https://fog-external-reporting-results.fogproject.us/

      1 Reply Last reply Reply Quote 0
      • M
        Mentaloid
        last edited by Wayne Workman

        This post is deleted!
        1 Reply Last reply Reply Quote 0
        • M
          Mentaloid
          last edited by

          Well - I did have some stuff to add to this, but whatever forum software this is doesn’t seem to like code blocks with powershell with param or typecasting in it 😞

          Wayne WorkmanW 1 Reply Last reply Reply Quote 0
          • Wayne WorkmanW
            Wayne Workman @Mentaloid
            last edited by

            @Mentaloid I can see the deleted post. It looks fine to me. What’s wrong, exactly?

            Please help us build the FOG community with everyone involved. It's not just about coding - way more we need people to test things, update documentation and most importantly work on uniting the community of people enjoying and working on FOG!
            Daily Clean Installation Results:
            https://fogtesting.fogproject.us/
            FOG Reporting:
            https://fog-external-reporting-results.fogproject.us/

            M 1 Reply Last reply Reply Quote 0
            • M
              Mentaloid @Wayne Workman
              last edited by Mentaloid

              @Wayne-Workman
              There’s a ton of missing code in the first code block, and strings seem to be substituted in several places. If I edit the post, it all seems right in the preview, but the actual post is messed up.

              it seems it’s not restricted to code blocks either - I just tried quoting here. I’ll send you a file if I can as an example of what’s messed up?

              Wayne WorkmanW 1 Reply Last reply Reply Quote 0
              • Wayne WorkmanW
                Wayne Workman @Mentaloid
                last edited by Wayne Workman

                @Mentaloid I tried messing with it for a while, it’s the tilde characters messing it up. 😕

                You can create a .txt file and upload that if you want.

                @Developers this would be a good example of a “forums issues”.

                Please help us build the FOG community with everyone involved. It's not just about coding - way more we need people to test things, update documentation and most importantly work on uniting the community of people enjoying and working on FOG!
                Daily Clean Installation Results:
                https://fogtesting.fogproject.us/
                FOG Reporting:
                https://fog-external-reporting-results.fogproject.us/

                M 1 Reply Last reply Reply Quote 1
                • M
                  Mentaloid @Wayne Workman
                  last edited by Mentaloid

                  @Wayne-Workman

                  Tilde? like ~ chars? or the backticks like `?

                  My experiment seem to show using things like
                  param (
                  [string]$url = “.”
                  [string]$exec = “”
                  )
                  is messed up as well (Wayne, not the missing line and square brackets if you edit directly)

                  Wayne WorkmanW 1 Reply Last reply Reply Quote 0
                  • Wayne WorkmanW
                    Wayne Workman @Mentaloid
                    last edited by Wayne Workman

                    @Mentaloid The key to the left of the 1 key seems to be doing it. I don’t know what to say about it. It’s a NodeBB issue for sure. Seems we need better escaping.

                    Please help us build the FOG community with everyone involved. It's not just about coding - way more we need people to test things, update documentation and most importantly work on uniting the community of people enjoying and working on FOG!
                    Daily Clean Installation Results:
                    https://fogtesting.fogproject.us/
                    FOG Reporting:
                    https://fog-external-reporting-results.fogproject.us/

                    1 Reply Last reply Reply Quote 0
                    • Wayne WorkmanW
                      Wayne Workman
                      last edited by

                      I added the samba stuff to the wiki here, made some fog-specific changes so it’s “ours” and “belonging” and all that good stuff. 🙂
                      https://wiki.fogproject.org/wiki/index.php?title=Password_Protected_Samba_Share

                      Please help us build the FOG community with everyone involved. It's not just about coding - way more we need people to test things, update documentation and most importantly work on uniting the community of people enjoying and working on FOG!
                      Daily Clean Installation Results:
                      https://fogtesting.fogproject.us/
                      FOG Reporting:
                      https://fog-external-reporting-results.fogproject.us/

                      1 Reply Last reply Reply Quote 0
                      • fry_pF
                        fry_p Moderator @adukes40
                        last edited by

                        @adukes40 I haven’t watched the Q&A yet, but when I saw Smart Notebook in the post, I wanted to share the way I incorporate it into an image. I haven’t experimented with doing a snapin (though since updates for Smart Notebook are regular it would make sense), rather, I install it within an image. Once I deploy this Smart Notebook image, it tells me the license is expired, but with a couple of clicks (manage license>repair license online automatically) it’s good. I guess if you have many different images that need Smart Notebook, the snapin method would be best, but on a universal image (we have a generic smartboard image), I feel like it may be simpler to use my method and update it then re-upload as needed for new versions. We do it that way periodically for not only Smart updates, but other applications and windows updates. I can post screens on Tuesday of the simple license repair for Smart Notebook embedded images if anybody is interested.

                        I digress, this may have already been discussed and this thread is about a more in general snapin question, so I apologize for getting off topic.

                        Like open source community computing? Why not do it for a good cause?
                        Use your computer/server for humanitarian projects when it is idle!
                        https://join.worldcommunitygrid.org?recruiterId=1026912

                        1 Reply Last reply Reply Quote 0
                        • Wayne WorkmanW
                          Wayne Workman
                          last edited by

                          Personally, I install smart notebook on every image. Then I leave a copy of the installer on the C:\ drive for actual smartboards. We just run the installer and choose “Smartboard Drivers” so it works with the smartboard.

                          Please help us build the FOG community with everyone involved. It's not just about coding - way more we need people to test things, update documentation and most importantly work on uniting the community of people enjoying and working on FOG!
                          Daily Clean Installation Results:
                          https://fogtesting.fogproject.us/
                          FOG Reporting:
                          https://fog-external-reporting-results.fogproject.us/

                          1 Reply Last reply Reply Quote 0
                          • 1 / 1
                          • First post
                            Last post

                          164

                          Online

                          12.0k

                          Users

                          17.3k

                          Topics

                          155.2k

                          Posts
                          Copyright © 2012-2024 FOG Project