]> git.ipfire.org Git - ipfire-2.x.git/blobdiff - src/install+setup/setup/passwords.c
Increase length of the password dialog to 50 chars.
[ipfire-2.x.git] / src / install+setup / setup / passwords.c
index a2f28f97f3d84f29ab7d862b22386c114580dfc0..31d559d76c93bd1ccd3967beba02108e530dd7cc 100644 (file)
@@ -32,7 +32,7 @@ int handlerootpassword(void)
                return 0;
        
        snprintf(commandstring, STRING_SIZE,
-               "/bin/echo 'root:%s' | /usr/sbin/chpasswd",     password);
+               "/bin/echo 'root:%s' | /usr/sbin/chpasswd", password);
        if (runhiddencommandwithstatus(commandstring, ctr[TR_SETTING_ROOT_PASSWORD]))
        {
                errorbox(ctr[TR_PROBLEM_SETTING_ROOT_PASSWORD]);
@@ -83,9 +83,9 @@ int getpassword(char *password, char *text)
        do
        {
                done = 1;
-               sprintf (title, "%s v%s - %s", NAME, VERSION, SLOGAN);
+               sprintf (title, "%s %s - %s", NAME, VERSION, SLOGAN);
                rc = newtWinEntries(title, text,
-                       50, 5, 5, 20, entries, ctr[TR_OK], ctr[TR_CANCEL], NULL);
+                       70, 5, 5, 50, entries, ctr[TR_OK], ctr[TR_CANCEL], NULL);
 
                if (rc != 2)
                {