On 2025-06-16, Claus Assmann <[email protected]> wrote:
> While trying to find a way to get fw_update to work during autoinstall
> without an internet connection, I noticed the use of the word
> "setup" - maybe someone can take a look and decide whether the
> following patch is ok/worth applying?
>
> --- install.sub.orig  Mon Jun 16 06:11:51 2025
> +++ install.sub       Mon Jun 16 06:13:36 2025
> @@ -2277,7 +2277,7 @@
>  
>  # Gather information for setting up the user later in do_install().
>  user_setup() {
> -     local _q="Setup a user? (enter a lower-case loginname, or 'no')"
> +     local _q="Set up a user? (enter a lower-case loginname, or 'no')"

this change will break autoinstall scripts.

>       while :; do
>               ask "$_q" no
> @@ -2319,7 +2319,7 @@
>  }
>  
>  # Ask user whether or not to allow logins to root in case sshd(8) is enabled.
> -# If no user is setup, show a hint to enable root logins, but warn about 
> risks
> +# If no user is set up, show a hint to enable root logins, but warn about 
> risks
>  # of doing so.
>  ask_root_sshd() {
>       typeset -l _resp
> @@ -2327,7 +2327,7 @@
>       [[ $START_SSHD == y ]] || return
>  
>       if [[ -z $ADMIN ]]; then
> -             echo "Since no user was setup, root logins via sshd(8) might be 
> useful."
> +             echo "Since no user was set up, root logins via sshd(8) might 
> be useful."
>       fi
>       echo "WARNING: root is targeted by password guessing attacks, pubkeys 
> are safer."
>       while :; do
>
>


-- 
Please keep replies on the mailing list.

Reply via email to