diff --git a/src/lib/y2users/linux/base_reader.rb b/src/lib/y2users/linux/base_reader.rb index ccc718cb8..b91a5ec64 100644 --- a/src/lib/y2users/linux/base_reader.rb +++ b/src/lib/y2users/linux/base_reader.rb @@ -20,14 +20,9 @@ require "yast" require "abstract_method" require "y2users/config" -require "y2users/login_config" require "y2users/parsers/group" require "y2users/parsers/passwd" require "y2users/parsers/shadow" -require "y2users/linux/useradd_config_reader" -require "users/ssh_authorized_keyring" - -Yast.import "Autologin" module Y2Users module Linux diff --git a/src/lib/y2users/linux/reader.rb b/src/lib/y2users/linux/reader.rb index 61bb54be5..732c3e915 100644 --- a/src/lib/y2users/linux/reader.rb +++ b/src/lib/y2users/linux/reader.rb @@ -19,7 +19,11 @@ require "yast2/execute" require "y2users/linux/base_reader" +require "y2users/login_config" +require "y2users/linux/useradd_config_reader" +require "users/ssh_authorized_keyring" +Yast.import "Autologin" Yast.import "MailAliases" module Y2Users