Mention root user in all according ssh messages
authorMichael Prokop <mika@grml.org>
Tue, 7 Feb 2012 11:08:12 +0000 (12:08 +0100)
committerMichael Prokop <mika@grml.org>
Tue, 7 Feb 2012 11:08:12 +0000 (12:08 +0100)
autoconfig.functions

index 46c5d43..4d91ed4 100755 (executable)
@@ -1090,13 +1090,13 @@ if checkbootparam 'ssh' ; then
       echo "root:$SSH_PASSWD" | chpasswd $chpass_options
    fi
 
       echo "root:$SSH_PASSWD" | chpasswd $chpass_options
    fi
 
-   einfo "Starting secure shell server in background for user $localuser"
+   einfo "Starting secure shell server in background for root and user $localuser"
    /etc/init.d/rmnologin start >>$DEBUG 2>>$DEBUG
    /etc/init.d/ssh start >>$DEBUG 2>>$DEBUG &
    eend $?
 
    eindent
    /etc/init.d/rmnologin start >>$DEBUG 2>>$DEBUG
    /etc/init.d/ssh start >>$DEBUG 2>>$DEBUG &
    eend $?
 
    eindent
-   ewarn "Warning: please change the password for user $localuser as soon as possible!"
+   ewarn "Warning: please change the password for root and user $localuser as soon as possible!"
    eoutdent
 fi
 }
    eoutdent
 fi
 }