mirror of
https://github.com/reactos/reactos.git
synced 2025-05-25 12:14:32 +00:00
[NET] Move ACCOUNTS command syntax and help text into a message table.
This commit is contained in:
parent
e16241255d
commit
7292af515d
17 changed files with 441 additions and 341 deletions
|
@ -23,6 +23,7 @@ list(APPEND SOURCE
|
|||
add_executable(net ${SOURCE} net.rc)
|
||||
set_module_type(net win32cui UNICODE)
|
||||
target_link_libraries(net conutils ${PSEH_LIB})
|
||||
add_dependencies(net net_msg)
|
||||
add_importlibs(net advapi32 netapi32 mpr msvcrt kernel32 ntdll)
|
||||
add_pch(net net.h SOURCE)
|
||||
add_cd_file(TARGET net DESTINATION reactos/system32 FOR all)
|
||||
|
|
|
@ -37,7 +37,7 @@ cmdAccounts(
|
|||
{
|
||||
/* Print short syntax help */
|
||||
ConResPuts(StdOut, IDS_GENERIC_SYNTAX);
|
||||
ConResPuts(StdOut, IDS_ACCOUNTS_SYNTAX);
|
||||
PrintNetMessage(MSG_ACCOUNTS_SYNTAX);
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
@ -45,17 +45,8 @@ cmdAccounts(
|
|||
{
|
||||
/* Print full help text*/
|
||||
ConResPuts(StdOut, IDS_GENERIC_SYNTAX);
|
||||
ConResPuts(StdOut, IDS_ACCOUNTS_SYNTAX);
|
||||
ConResPuts(StdOut, IDS_ACCOUNTS_HELP_1);
|
||||
ConResPuts(StdOut, IDS_ACCOUNTS_HELP_2);
|
||||
ConResPuts(StdOut, IDS_ACCOUNTS_HELP_3);
|
||||
ConResPuts(StdOut, IDS_ACCOUNTS_HELP_4);
|
||||
ConResPuts(StdOut, IDS_ACCOUNTS_HELP_5);
|
||||
ConResPuts(StdOut, IDS_ACCOUNTS_HELP_6);
|
||||
ConResPuts(StdOut, IDS_ACCOUNTS_HELP_7);
|
||||
ConResPuts(StdOut, IDS_ACCOUNTS_HELP_8);
|
||||
ConResPuts(StdOut, IDS_ACCOUNTS_HELP_9);
|
||||
ConResPuts(StdOut, IDS_ACCOUNTS_HELP_10);
|
||||
PrintNetMessage(MSG_ACCOUNTS_SYNTAX);
|
||||
PrintNetMessage(MSG_ACCOUNTS_HELP);
|
||||
ConResPuts(StdOut, IDS_GENERIC_PAGE);
|
||||
return 0;
|
||||
}
|
||||
|
|
|
@ -22,17 +22,8 @@ INT cmdHelp(INT argc, WCHAR **argv)
|
|||
*/
|
||||
if (_wcsicmp(argv[2], L"ACCOUNTS") == 0)
|
||||
{
|
||||
ConResPuts(StdOut, IDS_ACCOUNTS_SYNTAX);
|
||||
ConResPuts(StdOut, IDS_ACCOUNTS_HELP_1);
|
||||
ConResPuts(StdOut, IDS_ACCOUNTS_HELP_2);
|
||||
ConResPuts(StdOut, IDS_ACCOUNTS_HELP_3);
|
||||
ConResPuts(StdOut, IDS_ACCOUNTS_HELP_4);
|
||||
ConResPuts(StdOut, IDS_ACCOUNTS_HELP_5);
|
||||
ConResPuts(StdOut, IDS_ACCOUNTS_HELP_6);
|
||||
ConResPuts(StdOut, IDS_ACCOUNTS_HELP_7);
|
||||
ConResPuts(StdOut, IDS_ACCOUNTS_HELP_8);
|
||||
ConResPuts(StdOut, IDS_ACCOUNTS_HELP_9);
|
||||
ConResPuts(StdOut, IDS_ACCOUNTS_HELP_10);
|
||||
PrintNetMessage(MSG_ACCOUNTS_SYNTAX);
|
||||
PrintNetMessage(MSG_ACCOUNTS_HELP);
|
||||
ConResPuts(StdOut, IDS_GENERIC_PAGE);
|
||||
return 0;
|
||||
}
|
||||
|
|
|
@ -2,44 +2,6 @@ LANGUAGE LANG_ENGLISH, SUBLANG_ENGLISH_US
|
|||
|
||||
STRINGTABLE
|
||||
BEGIN
|
||||
IDS_ACCOUNTS_SYNTAX "NET ACCOUNTS [/FORCELOGOFF:{Minutes|NO}] [/MINPWLEN:Length]\n\
|
||||
[/MAXPWAGE:{Days|UNLIMITED}] [/MINPWAGE:Days]\n\
|
||||
[/UNIQUEPW:Count] [/DOMAIN]\n\n"
|
||||
IDS_ACCOUNTS_HELP_1 "NET ACCOUNTS updates the user accounts database and modifies password\n\
|
||||
and logon requirements for all accounts.\n\
|
||||
When used without parameters, NET ACCOUNTS displays the current settings for\n\
|
||||
passwords, logon limitations, and domain information.\n\n"
|
||||
IDS_ACCOUNTS_HELP_2 "Two conditions are required in order for options used with\n\
|
||||
NET ACCOUNTS to take effect.\n\n"
|
||||
IDS_ACCOUNTS_HELP_3 "- The password and logon requirements are only effective if user\n\
|
||||
accounts havebeen set up (user User Manager or the NET USER command).\n\n"
|
||||
IDS_ACCOUNTS_HELP_4 "- The Net Logon service must be running on all servers in the domain\n\
|
||||
that verify logon. Net Logon is started autmatically when the\n\
|
||||
operating system starts.\n\n"
|
||||
IDS_ACCOUNTS_HELP_5 "/FORECELOGOFF:{minutes | NO} Sets the number of minutes a user has before\n\
|
||||
being forced to log off when the\n\
|
||||
account expires or valid logon hours expire.\n\
|
||||
NO, the default, prevents forced logoff.\n"
|
||||
IDS_ACCOUNTS_HELP_6 "/MINPWLEN:length Sets the minimum number of characters for\n\
|
||||
a password. The range is 0-14 characters;\n\
|
||||
the default is 6 characters.\n"
|
||||
IDS_ACCOUNTS_HELP_7 "/MAXPWAGE:{days | UNLIMITED} Sets the maximum numer of days that a\n\
|
||||
password is valid. No limit is specified\n\
|
||||
by using UNLIMITED. /MAXPWAGE cannot be less\n\
|
||||
than /MINPWAGE. The range is 1-999; the\n\
|
||||
default is to leave the value unchanged.\n"
|
||||
IDS_ACCOUNTS_HELP_8 "/MINPWAGE:days Sets the minimum number of days that must\n\
|
||||
pass before a user can change a password.\n\
|
||||
A value of 0 sets no minimum time. The range\n\
|
||||
is 0-999; the default is 0 days. /MINPWAGE\n\
|
||||
cannot be more than /MAXPWAGE.\n"
|
||||
IDS_ACCOUNTS_HELP_9 "/UNIQUEPW:number Requires that a users passwords be unique\n\
|
||||
through the specified number of password\n\
|
||||
changes. The maximum value is 24.\n"
|
||||
IDS_ACCOUNTS_HELP_10 "/DOMAIN Performs the operation on a domain\n\
|
||||
controller of the current domain. Otherwise,\n\
|
||||
the operation is performed on the local\n\
|
||||
computer.\n\n"
|
||||
IDS_COMPUTER_SYNTAX "NET COMPUTER \\computername {/ADD | /DEL}\n\n"
|
||||
IDS_COMPUTER_HELP_1 "NET COMPUTER adds or deletes computers from a domain database. This\n\
|
||||
command is available only on server operating systems.\n\n"
|
||||
|
|
|
@ -5,44 +5,6 @@ LANGUAGE LANG_SPANISH, SUBLANG_NEUTRAL
|
|||
|
||||
STRINGTABLE
|
||||
BEGIN
|
||||
IDS_ACCOUNTS_SYNTAX "NET ACCOUNTS [/FORCELOGOFF:{minutos | NO}] [/MINPWLEN:longitud]\n\
|
||||
[/MAXPWAGE:{días | UNLIMITED}] [/MINPWAGE:días]\n\
|
||||
[/UNIQUEPW:número] [/DOMAIN]\n\n"
|
||||
IDS_ACCOUNTS_HELP_1 "NET ACCOUNTS updates the user accounts database and modifies password\n\
|
||||
and logon requirements for all accounts.\n\
|
||||
When used without parameters, NET ACCOUNTS displays the current settings for\n\
|
||||
passwords, logon limitations, and domain information.\n\n"
|
||||
IDS_ACCOUNTS_HELP_2 "Two conditions are required in order for options used with\n\
|
||||
NET ACCOUNTS to take effect.\n\n"
|
||||
IDS_ACCOUNTS_HELP_3 "- The password and logon requirements are only effective if user\n\
|
||||
accounts havebeen set up (user User Manager or the NET USER command).\n\n"
|
||||
IDS_ACCOUNTS_HELP_4 "- The Net Logon service must be running on all servers in the domain\n\
|
||||
that verify logon. Net Logon is started autmatically when the\n\
|
||||
operating system starts.\n\n"
|
||||
IDS_ACCOUNTS_HELP_5 "/FORECELOGOFF:{minutes | NO} Sets the number of minutes a user has before\n\
|
||||
being forced to log off when the\n\
|
||||
account expires or valid logon hours expire.\n\
|
||||
NO, the default, prevents forced logoff.\n"
|
||||
IDS_ACCOUNTS_HELP_6 "/MINPWLEN:length Sets the minimum number of characters for\n\
|
||||
a password. The range is 0-14 characters;\n\
|
||||
the default is 6 characters.\n"
|
||||
IDS_ACCOUNTS_HELP_7 "/MAXPWAGE:{days | UNLIMITED} Sets the maximum numer of days that a\n\
|
||||
password is valid. No limit is specified\n\
|
||||
by using UNLIMITED. /MAXPWAGE cannot be less\n\
|
||||
than /MINPWAGE. The range is 1-999; the\n\
|
||||
default is to leave the value unchanged.\n"
|
||||
IDS_ACCOUNTS_HELP_8 "/MINPWAGE:days Sets the minimum number of days that must\n\
|
||||
pass before a user can change a password.\n\
|
||||
A value of 0 sets no minimum time. The range\n\
|
||||
is 0-999; the default is 0 days. /MINPWAGE\n\
|
||||
cannot be more than /MAXPWAGE.\n"
|
||||
IDS_ACCOUNTS_HELP_9 "/UNIQUEPW:number Requires that a users passwords be unique\n\
|
||||
through the specified number of password\n\
|
||||
changes. The maximum value is 24.\n"
|
||||
IDS_ACCOUNTS_HELP_10 "/DOMAIN Performs the operation on a domain\n\
|
||||
controller of the current domain. Otherwise,\n\
|
||||
the operation is performed on the local\n\
|
||||
computer.\n\n"
|
||||
IDS_COMPUTER_SYNTAX "NET COMPUTER \\computername {/ADD | /DEL}\n\n"
|
||||
IDS_COMPUTER_HELP_1 "NET COMPUTER adds or deletes computers from a domain database. This\n\
|
||||
command is available only on server operating systems.\n\n"
|
||||
|
|
|
@ -1,47 +1,6 @@
|
|||
LANGUAGE LANG_POLISH, SUBLANG_DEFAULT
|
||||
STRINGTABLE
|
||||
BEGIN
|
||||
IDS_ACCOUNTS_SYNTAX "NET ACCOUNTS [/FORCELOGOFF:{minuty|NO}] [/MINPWLEN:długość]\n\
|
||||
[/MAXPWAGE:{dni|UNLIMITED}] [/MINPWAGE:dni]\n\
|
||||
[/UNIQUEPW:liczba] [/DOMAIN]\n\n"
|
||||
IDS_ACCOUNTS_HELP_1 "NET ACCOUNTS uaktualnia bazę kont użytkowników i zmienia hasło oraz wymagania\n\
|
||||
logowania dla wszystkich kont.\n\
|
||||
Użyte bez opcji, NET ACCOUNTS wyświetla bieżące ustawienia\n\
|
||||
hasła i ograniczeń logowania oraz informacje o domenie.\n\n"
|
||||
IDS_ACCOUNTS_HELP_2 "Aby opcje użyte z NET ACCOUNTS odniosły skutek, muszą być\n\
|
||||
spełnione dwa warunki.\n\n"
|
||||
IDS_ACCOUNTS_HELP_3 "- Wymagania hasła i logowania odnoszą skutek tylko wtedy, gdy\n\
|
||||
zostało utworzone konto użytkownika (w tym celu użyj\n\
|
||||
Menedżera użytkowników lub polecenia NET USER).\n\n"
|
||||
IDS_ACCOUNTS_HELP_4 "- Usługa logowania (Net Logon) musi być uruchomiona na wszystkich\n\
|
||||
serwerach w domenie, które weryfikują logowanie. Usługa logowania\n\
|
||||
jest uruchamiana automatycznie podczas uruchamiania systemu.\n\n"
|
||||
IDS_ACCOUNTS_HELP_5 "/FORECELOGOFF:{minuty | NO} Ustawia liczbę minut, przez które użytkownik\n\
|
||||
może być zalogowany przed wymuszeniem wylogowania\n\
|
||||
wskutek wygaśnięcia lub ważności godzin logowania.\n\
|
||||
NO, wartość domyślna, zapobiega wymuszaniu\n\
|
||||
wylogowania.\n"
|
||||
IDS_ACCOUNTS_HELP_6 "/MINPWLEN:długość Ustawia minimalną liczbę znaków w haśle.\n\
|
||||
Zakres długości hasła wynosi od 0 do 14 znaków;\n\
|
||||
wartość domyślna to 6 znaków.\n"
|
||||
IDS_ACCOUNTS_HELP_7 "/MAXPWAGE:{dni | UNLIMITED} Ustawia maksymalną liczbę dni ważności\n\
|
||||
hasła. UNLIMITED ustala nieograniczony\n\
|
||||
czas ważności hasła. Wartość /MAXPWAGE nie\n\
|
||||
może być mniejsza od /MINPWAGE. Zakres wynosi\n\
|
||||
od 1 do 999; domyślnie wartość się nie zmienia.\n"
|
||||
IDS_ACCOUNTS_HELP_8 "/MINPWAGE:dni Ustawia minimalną liczbę dni, które muszą\n\
|
||||
minąć, zanim użytkownik może zmienić hasło.\n\
|
||||
Wartość 0 ustawia brak tego ograniczenia.\n\
|
||||
Zakres wynosi od 0 do 999; wartość domyślna\n\
|
||||
to 0 dni. Wartość /MINPWAGE nie może być \n\
|
||||
większa od wartości /MAXPWAGE."
|
||||
IDS_ACCOUNTS_HELP_9 "/UNIQUEPW:liczba Wymaga, aby hasło użytkownika było unikatowe,\n\
|
||||
poprzez określoną liczbę zmian hasła.\n\
|
||||
Największa wartość to 24.\n"
|
||||
IDS_ACCOUNTS_HELP_10 "/DOMAIN Wykonuje operacje na kontrolerze domeny\n\
|
||||
w bieżącej domenie. W innym wypadku,\n\
|
||||
operacje te są dokonywane na komputerze\n\
|
||||
lokalnym.\n\n"
|
||||
IDS_COMPUTER_SYNTAX "NET COMPUTER \\nazwa_komputera {/ADD | /DEL}\n\n"
|
||||
IDS_COMPUTER_HELP_1 "NET COMPUTER dodaje lub usuwa komputer z bazy danych domeny.\n\
|
||||
To polecenie jest dostępne tylko na serwerowych systemach opoeracyjnych.\n\n"
|
||||
|
|
|
@ -8,44 +8,6 @@ LANGUAGE LANG_ROMANIAN, SUBLANG_NEUTRAL
|
|||
|
||||
STRINGTABLE
|
||||
BEGIN
|
||||
IDS_ACCOUNTS_SYNTAX "NET ACCOUNTS [/FORCELOGOFF:{Minute|NO}] [/MINPWLEN:Lungime]\n\
|
||||
[/MAXPWAGE:{Zile|UNLIMITED}] [/MINPWAGE:Zile]\n\
|
||||
[/UNIQUEPW:Număr] [/DOMAIN]\n\n"
|
||||
IDS_ACCOUNTS_HELP_1 "NET ACCOUNTS actualizează baza de utilizatori și modifică parola și\n\
|
||||
cerințele de autentificare pentru toate conturile.\n\
|
||||
Utilizat fără parametri, NET ACCOUNTS afișează configurația curentă pentru\n\
|
||||
parole, limitări de autentificare, și informații de domeniu.\n\n"
|
||||
IDS_ACCOUNTS_HELP_2 "Sunt necesare două condiții pentru ca opțiunile utilizate cu\n\
|
||||
NET ACCOUNTS să aibă efect.\n\n"
|
||||
IDS_ACCOUNTS_HELP_3 "- Cerințele de autentificare și parolele au sens doar când conturile\n\
|
||||
sunt instituite (cu Gestionarul de Utilizatori sau comanda NET USER).\n\n"
|
||||
IDS_ACCOUNTS_HELP_4 "- Este necesar ca serviciul Net Logon să fie activ în toate servele din\n\
|
||||
domeniul de autentificare. Serviciul Net Logon este lansat automat la\n\
|
||||
pornirea sistemului de operare.\n\n"
|
||||
IDS_ACCOUNTS_HELP_5 "/FORECELOGOFF:{minute | NO} Definește numărul minutelor precursoare unei\n\
|
||||
deautentificări forțate la expirarea contului\n\
|
||||
sau a numărului valid de ore de autentificare.\n\
|
||||
NO (implicit) previne deautentificarea forțată.\n"
|
||||
IDS_ACCOUNTS_HELP_6 "/MINPWLEN:length Sets the minimum number of characters for\n\
|
||||
a password. The range is 0-14 characters;\n\
|
||||
the default is 6 characters.\n"
|
||||
IDS_ACCOUNTS_HELP_7 "/MAXPWAGE:{days | UNLIMITED} Sets the maximum numer of days that a\n\
|
||||
password is valid. No limit is specified\n\
|
||||
by using UNLIMITED. /MAXPWAGE cannot be less\n\
|
||||
than /MINPWAGE. The range is 1-999; the\n\
|
||||
default is to leave the value unchanged.\n"
|
||||
IDS_ACCOUNTS_HELP_8 "/MINPWAGE:days Sets the minimum number of days that must\n\
|
||||
pass before a user can change a password.\n\
|
||||
A value of 0 sets no minimum time. The range\n\
|
||||
is 0-999; the default is 0 days. /MINPWAGE\n\
|
||||
cannot be more than /MAXPWAGE.\n"
|
||||
IDS_ACCOUNTS_HELP_9 "/UNIQUEPW:number Requires that a users passwords be unique\n\
|
||||
through the specified number of password\n\
|
||||
changes. The maximum value is 24.\n"
|
||||
IDS_ACCOUNTS_HELP_10 "/DOMAIN Performs the operation on a domain\n\
|
||||
controller of the current domain. Otherwise,\n\
|
||||
the operation is performed on the local\n\
|
||||
computer.\n\n"
|
||||
IDS_COMPUTER_SYNTAX "NET COMPUTER \\computername {/ADD | /DEL}\n\n"
|
||||
IDS_COMPUTER_HELP_1 "NET COMPUTER adds or deletes computers from a domain database. This\n\
|
||||
command is available only on server operating systems.\n\n"
|
||||
|
|
|
@ -4,44 +4,6 @@ LANGUAGE LANG_RUSSIAN, SUBLANG_DEFAULT
|
|||
|
||||
STRINGTABLE
|
||||
BEGIN
|
||||
IDS_ACCOUNTS_SYNTAX "NET ACCOUNTS [/FORCELOGOFF:{минуты | NO}] [/MINPWLEN:длина]\n\
|
||||
[/MAXPWAGE:{дни | UNLIMITED}] [/MINPWAGE:дни]\n\
|
||||
[/UNIQUEPW:число] [/DOMAIN]\n\n"
|
||||
IDS_ACCOUNTS_HELP_1 "NET ACCOUNTS updates the user accounts database and modifies password\n\
|
||||
and logon requirements for all accounts.\n\
|
||||
When used without parameters, NET ACCOUNTS displays the current settings for\n\
|
||||
passwords, logon limitations, and domain information.\n\n"
|
||||
IDS_ACCOUNTS_HELP_2 "Two conditions are required in order for options used with\n\
|
||||
NET ACCOUNTS to take effect.\n\n"
|
||||
IDS_ACCOUNTS_HELP_3 "- The password and logon requirements are only effective if user\n\
|
||||
accounts havebeen set up (user User Manager or the NET USER command).\n\n"
|
||||
IDS_ACCOUNTS_HELP_4 "- The Net Logon service must be running on all servers in the domain\n\
|
||||
that verify logon. Net Logon is started autmatically when the\n\
|
||||
operating system starts.\n\n"
|
||||
IDS_ACCOUNTS_HELP_5 "/FORECELOGOFF:{minutes | NO} Sets the number of minutes a user has before\n\
|
||||
being forced to log off when the\n\
|
||||
account expires or valid logon hours expire.\n\
|
||||
NO, the default, prevents forced logoff.\n"
|
||||
IDS_ACCOUNTS_HELP_6 "/MINPWLEN:length Sets the minimum number of characters for\n\
|
||||
a password. The range is 0-14 characters;\n\
|
||||
the default is 6 characters.\n"
|
||||
IDS_ACCOUNTS_HELP_7 "/MAXPWAGE:{days | UNLIMITED} Sets the maximum numer of days that a\n\
|
||||
password is valid. No limit is specified\n\
|
||||
by using UNLIMITED. /MAXPWAGE cannot be less\n\
|
||||
than /MINPWAGE. The range is 1-999; the\n\
|
||||
default is to leave the value unchanged.\n"
|
||||
IDS_ACCOUNTS_HELP_8 "/MINPWAGE:days Sets the minimum number of days that must\n\
|
||||
pass before a user can change a password.\n\
|
||||
A value of 0 sets no minimum time. The range\n\
|
||||
is 0-999; the default is 0 days. /MINPWAGE\n\
|
||||
cannot be more than /MAXPWAGE.\n"
|
||||
IDS_ACCOUNTS_HELP_9 "/UNIQUEPW:number Requires that a users passwords be unique\n\
|
||||
through the specified number of password\n\
|
||||
changes. The maximum value is 24.\n"
|
||||
IDS_ACCOUNTS_HELP_10 "/DOMAIN Performs the operation on a domain\n\
|
||||
controller of the current domain. Otherwise,\n\
|
||||
the operation is performed on the local\n\
|
||||
computer.\n\n"
|
||||
IDS_COMPUTER_SYNTAX "NET COMPUTER \\computername {/ADD | /DEL}\n\n"
|
||||
IDS_COMPUTER_HELP_1 "NET COMPUTER adds or deletes computers from a domain database. This\n\
|
||||
command is available only on server operating systems.\n\n"
|
||||
|
|
|
@ -4,44 +4,6 @@ LANGUAGE LANG_TURKISH, SUBLANG_DEFAULT
|
|||
|
||||
STRINGTABLE
|
||||
BEGIN
|
||||
IDS_ACCOUNTS_SYNTAX "NET ACCOUNTS [/FORCELOGOFF:{Dakîka|NO}] [/MINPWLEN:Uzunluk]\n\
|
||||
[/MAXPWAGE:{Gün|UNLIMITED}] [/MINPWAGE:Gün]\n\
|
||||
[/UNIQUEPW:Sayı] [/DOMAIN]\n\n"
|
||||
IDS_ACCOUNTS_HELP_1 "NET ACCOUNTS updates the user accounts database and modifies password\n\
|
||||
and logon requirements for all accounts.\n\
|
||||
When used without parameters, NET ACCOUNTS displays the current settings for\n\
|
||||
passwords, logon limitations, and domain information.\n\n"
|
||||
IDS_ACCOUNTS_HELP_2 "Two conditions are required in order for options used with\n\
|
||||
NET ACCOUNTS to take effect.\n\n"
|
||||
IDS_ACCOUNTS_HELP_3 "- The password and logon requirements are only effective if user\n\
|
||||
accounts havebeen set up (user User Manager or the NET USER command).\n\n"
|
||||
IDS_ACCOUNTS_HELP_4 "- The Net Logon service must be running on all servers in the domain\n\
|
||||
that verify logon. Net Logon is started autmatically when the\n\
|
||||
operating system starts.\n\n"
|
||||
IDS_ACCOUNTS_HELP_5 "/FORECELOGOFF:{minutes | NO} Sets the number of minutes a user has before\n\
|
||||
being forced to log off when the\n\
|
||||
account expires or valid logon hours expire.\n\
|
||||
NO, the default, prevents forced logoff.\n"
|
||||
IDS_ACCOUNTS_HELP_6 "/MINPWLEN:length Sets the minimum number of characters for\n\
|
||||
a password. The range is 0-14 characters;\n\
|
||||
the default is 6 characters.\n"
|
||||
IDS_ACCOUNTS_HELP_7 "/MAXPWAGE:{days | UNLIMITED} Sets the maximum numer of days that a\n\
|
||||
password is valid. No limit is specified\n\
|
||||
by using UNLIMITED. /MAXPWAGE cannot be less\n\
|
||||
than /MINPWAGE. The range is 1-999; the\n\
|
||||
default is to leave the value unchanged.\n"
|
||||
IDS_ACCOUNTS_HELP_8 "/MINPWAGE:days Sets the minimum number of days that must\n\
|
||||
pass before a user can change a password.\n\
|
||||
A value of 0 sets no minimum time. The range\n\
|
||||
is 0-999; the default is 0 days. /MINPWAGE\n\
|
||||
cannot be more than /MAXPWAGE.\n"
|
||||
IDS_ACCOUNTS_HELP_9 "/UNIQUEPW:number Requires that a users passwords be unique\n\
|
||||
through the specified number of password\n\
|
||||
changes. The maximum value is 24.\n"
|
||||
IDS_ACCOUNTS_HELP_10 "/DOMAIN Performs the operation on a domain\n\
|
||||
controller of the current domain. Otherwise,\n\
|
||||
the operation is performed on the local\n\
|
||||
computer.\n\n"
|
||||
IDS_COMPUTER_SYNTAX "NET COMPUTER \\computername {/ADD | /DEL}\n\n"
|
||||
IDS_COMPUTER_HELP_1 "NET COMPUTER adds or deletes computers from a domain database. This\n\
|
||||
command is available only on server operating systems.\n\n"
|
||||
|
|
|
@ -4,44 +4,6 @@ LANGUAGE LANG_CHINESE, SUBLANG_CHINESE_SIMPLIFIED
|
|||
|
||||
STRINGTABLE
|
||||
BEGIN
|
||||
IDS_ACCOUNTS_SYNTAX "NET ACCOUNTS [/FORCELOGOFF:{Minutes|NO}] [/MINPWLEN:Length]\n\
|
||||
[/MAXPWAGE:{Days|UNLIMITED}] [/MINPWAGE:Days]\n\
|
||||
[/UNIQUEPW:Count] [/DOMAIN]\n\n"
|
||||
IDS_ACCOUNTS_HELP_1 "NET ACCOUNTS updates the user accounts database and modifies password\n\
|
||||
and logon requirements for all accounts.\n\
|
||||
When used without parameters, NET ACCOUNTS displays the current settings for\n\
|
||||
passwords, logon limitations, and domain information.\n\n"
|
||||
IDS_ACCOUNTS_HELP_2 "Two conditions are required in order for options used with\n\
|
||||
NET ACCOUNTS to take effect.\n\n"
|
||||
IDS_ACCOUNTS_HELP_3 "- The password and logon requirements are only effective if user\n\
|
||||
accounts havebeen set up (user User Manager or the NET USER command).\n\n"
|
||||
IDS_ACCOUNTS_HELP_4 "- The Net Logon service must be running on all servers in the domain\n\
|
||||
that verify logon. Net Logon is started autmatically when the\n\
|
||||
operating system starts.\n\n"
|
||||
IDS_ACCOUNTS_HELP_5 "/FORECELOGOFF:{minutes | NO} Sets the number of minutes a user has before\n\
|
||||
being forced to log off when the\n\
|
||||
account expires or valid logon hours expire.\n\
|
||||
NO, the default, prevents forced logoff.\n"
|
||||
IDS_ACCOUNTS_HELP_6 "/MINPWLEN:length Sets the minimum number of characters for\n\
|
||||
a password. The range is 0-14 characters;\n\
|
||||
the default is 6 characters.\n"
|
||||
IDS_ACCOUNTS_HELP_7 "/MAXPWAGE:{days | UNLIMITED} Sets the maximum numer of days that a\n\
|
||||
password is valid. No limit is specified\n\
|
||||
by using UNLIMITED. /MAXPWAGE cannot be less\n\
|
||||
than /MINPWAGE. The range is 1-999; the\n\
|
||||
default is to leave the value unchanged.\n"
|
||||
IDS_ACCOUNTS_HELP_8 "/MINPWAGE:days Sets the minimum number of days that must\n\
|
||||
pass before a user can change a password.\n\
|
||||
A value of 0 sets no minimum time. The range\n\
|
||||
is 0-999; the default is 0 days. /MINPWAGE\n\
|
||||
cannot be more than /MAXPWAGE.\n"
|
||||
IDS_ACCOUNTS_HELP_9 "/UNIQUEPW:number Requires that a users passwords be unique\n\
|
||||
through the specified number of password\n\
|
||||
changes. The maximum value is 24.\n"
|
||||
IDS_ACCOUNTS_HELP_10 "/DOMAIN Performs the operation on a domain\n\
|
||||
controller of the current domain. Otherwise,\n\
|
||||
the operation is performed on the local\n\
|
||||
computer.\n\n"
|
||||
IDS_COMPUTER_SYNTAX "NET COMPUTER \\computername {/ADD | /DEL}\n\n"
|
||||
IDS_COMPUTER_HELP_1 "NET COMPUTER adds or deletes computers from a domain database. This\n\
|
||||
command is available only on server operating systems.\n\n"
|
||||
|
|
|
@ -4,44 +4,6 @@ LANGUAGE LANG_CHINESE, SUBLANG_CHINESE_TRADITIONAL
|
|||
|
||||
STRINGTABLE
|
||||
BEGIN
|
||||
IDS_ACCOUNTS_SYNTAX "NET ACCOUNTS [/FORCELOGOFF:{分鐘|NO}] [/MINPWLEN:長度]\n\
|
||||
[/MAXPWAGE:{天|UNLIMITED}] [/MINPWAGE:天]\n\
|
||||
[/UNIQUEPW:計數] [/DOMAIN]\n\n"
|
||||
IDS_ACCOUNTS_HELP_1 "NET ACCOUNTS updates the user accounts database and modifies password\n\
|
||||
and logon requirements for all accounts.\n\
|
||||
When used without parameters, NET ACCOUNTS displays the current settings for\n\
|
||||
passwords, logon limitations, and domain information.\n\n"
|
||||
IDS_ACCOUNTS_HELP_2 "Two conditions are required in order for options used with\n\
|
||||
NET ACCOUNTS to take effect.\n\n"
|
||||
IDS_ACCOUNTS_HELP_3 "- The password and logon requirements are only effective if user\n\
|
||||
accounts havebeen set up (user User Manager or the NET USER command).\n\n"
|
||||
IDS_ACCOUNTS_HELP_4 "- The Net Logon service must be running on all servers in the domain\n\
|
||||
that verify logon. Net Logon is started autmatically when the\n\
|
||||
operating system starts.\n\n"
|
||||
IDS_ACCOUNTS_HELP_5 "/FORECELOGOFF:{minutes | NO} Sets the number of minutes a user has before\n\
|
||||
being forced to log off when the\n\
|
||||
account expires or valid logon hours expire.\n\
|
||||
NO, the default, prevents forced logoff.\n"
|
||||
IDS_ACCOUNTS_HELP_6 "/MINPWLEN:length Sets the minimum number of characters for\n\
|
||||
a password. The range is 0-14 characters;\n\
|
||||
the default is 6 characters.\n"
|
||||
IDS_ACCOUNTS_HELP_7 "/MAXPWAGE:{days | UNLIMITED} Sets the maximum numer of days that a\n\
|
||||
password is valid. No limit is specified\n\
|
||||
by using UNLIMITED. /MAXPWAGE cannot be less\n\
|
||||
than /MINPWAGE. The range is 1-999; the\n\
|
||||
default is to leave the value unchanged.\n"
|
||||
IDS_ACCOUNTS_HELP_8 "/MINPWAGE:days Sets the minimum number of days that must\n\
|
||||
pass before a user can change a password.\n\
|
||||
A value of 0 sets no minimum time. The range\n\
|
||||
is 0-999; the default is 0 days. /MINPWAGE\n\
|
||||
cannot be more than /MAXPWAGE.\n"
|
||||
IDS_ACCOUNTS_HELP_9 "/UNIQUEPW:number Requires that a users passwords be unique\n\
|
||||
through the specified number of password\n\
|
||||
changes. The maximum value is 24.\n"
|
||||
IDS_ACCOUNTS_HELP_10 "/DOMAIN Performs the operation on a domain\n\
|
||||
controller of the current domain. Otherwise,\n\
|
||||
the operation is performed on the local\n\
|
||||
computer.\n\n"
|
||||
IDS_COMPUTER_SYNTAX "NET COMPUTER \\computername {/ADD | /DEL}\n\n"
|
||||
IDS_COMPUTER_HELP_1 "NET COMPUTER adds or deletes computers from a domain database. This\n\
|
||||
command is available only on server operating systems.\n\n"
|
||||
|
|
|
@ -145,6 +145,30 @@ PrintErrorMessage(
|
|||
}
|
||||
|
||||
|
||||
VOID
|
||||
PrintNetMessage(
|
||||
DWORD dwMessage)
|
||||
{
|
||||
PWSTR pBuffer;
|
||||
|
||||
FormatMessageW(FORMAT_MESSAGE_ALLOCATE_BUFFER |
|
||||
FORMAT_MESSAGE_FROM_HMODULE |
|
||||
FORMAT_MESSAGE_IGNORE_INSERTS,
|
||||
GetModuleHandleW(NULL),
|
||||
dwMessage,
|
||||
LANG_USER_DEFAULT,
|
||||
(LPWSTR)&pBuffer,
|
||||
0,
|
||||
NULL);
|
||||
if (pBuffer)
|
||||
{
|
||||
ConPrintf(StdOut, L"%s\n", pBuffer);
|
||||
LocalFree(pBuffer);
|
||||
pBuffer = NULL;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
VOID
|
||||
ReadFromConsole(
|
||||
LPWSTR lpInput,
|
||||
|
|
|
@ -24,6 +24,7 @@
|
|||
|
||||
#include <conutils.h>
|
||||
|
||||
#include <net_msg.h>
|
||||
#include "resource.h"
|
||||
|
||||
extern HMODULE hModuleNetMsg;
|
||||
|
@ -42,6 +43,10 @@ VOID
|
|||
PrintErrorMessage(
|
||||
DWORD dwError);
|
||||
|
||||
VOID
|
||||
PrintNetMessage(
|
||||
DWORD dwMessage);
|
||||
|
||||
VOID
|
||||
ReadFromConsole(
|
||||
LPWSTR lpInput,
|
||||
|
|
|
@ -9,6 +9,8 @@ LANGUAGE LANG_NEUTRAL, SUBLANG_NEUTRAL
|
|||
#define REACTOS_STR_ORIGINAL_FILENAME "net.exe"
|
||||
#include <reactos/version.rc>
|
||||
|
||||
#include <net_msg.rc>
|
||||
|
||||
/* UTF-8 */
|
||||
#pragma code_page(65001)
|
||||
|
||||
|
|
|
@ -1,16 +1,5 @@
|
|||
#pragma once
|
||||
|
||||
#define IDS_ACCOUNTS_SYNTAX 100
|
||||
#define IDS_ACCOUNTS_HELP_1 101
|
||||
#define IDS_ACCOUNTS_HELP_2 102
|
||||
#define IDS_ACCOUNTS_HELP_3 103
|
||||
#define IDS_ACCOUNTS_HELP_4 104
|
||||
#define IDS_ACCOUNTS_HELP_5 105
|
||||
#define IDS_ACCOUNTS_HELP_6 106
|
||||
#define IDS_ACCOUNTS_HELP_7 107
|
||||
#define IDS_ACCOUNTS_HELP_8 108
|
||||
#define IDS_ACCOUNTS_HELP_9 109
|
||||
#define IDS_ACCOUNTS_HELP_10 110
|
||||
#define IDS_COMPUTER_SYNTAX 111
|
||||
#define IDS_COMPUTER_HELP_1 112
|
||||
#define IDS_COMPUTER_HELP_2 113
|
||||
|
|
|
@ -4,6 +4,7 @@ list(APPEND ANSI_SOURCE
|
|||
|
||||
list(APPEND UNICODE_SOURCE
|
||||
errcodes.mc
|
||||
net_msg.mc
|
||||
neteventmsg.mc
|
||||
netmsgmsg.mc
|
||||
ntiologc.mc
|
||||
|
|
403
sdk/include/reactos/mc/net_msg.mc
Normal file
403
sdk/include/reactos/mc/net_msg.mc
Normal file
|
@ -0,0 +1,403 @@
|
|||
MessageIdTypedef=DWORD
|
||||
|
||||
SeverityNames=(Success=0x0:STATUS_SEVERITY_SUCCESS
|
||||
Informational=0x1:STATUS_SEVERITY_INFORMATIONAL
|
||||
Warning=0x2:STATUS_SEVERITY_WARNING
|
||||
Error=0x3:STATUS_SEVERITY_ERROR
|
||||
)
|
||||
|
||||
FacilityNames=(System=0x0:FACILITY_SYSTEM
|
||||
)
|
||||
|
||||
LanguageNames=(English=0x409:MSG00409
|
||||
Polish=0x415:MSG00415
|
||||
Romanian=0x018:MSG00018
|
||||
Russian=0x419:MSG00419
|
||||
Spanish=0x00A:MSG0000A
|
||||
Turkish=0x41F:MSG0041F
|
||||
Chinese=0x804:MSG00804
|
||||
Taiwanese=0x404:MSG00404
|
||||
)
|
||||
|
||||
|
||||
MessageId=10000
|
||||
SymbolicName=MSG_ACCOUNTS_SYNTAX
|
||||
Severity=Success
|
||||
Facility=System
|
||||
Language=English
|
||||
NET ACCOUNTS [/FORCELOGOFF:{Minutes|NO}] [/MINPWLEN:Length]
|
||||
[/MAXPWAGE:{Days|UNLIMITED}] [/MINPWAGE:Days]
|
||||
[/UNIQUEPW:Count] [/DOMAIN]
|
||||
.
|
||||
Language=Polish
|
||||
NET ACCOUNTS [/FORCELOGOFF:{minuty|NO}] [/MINPWLEN:długość]
|
||||
[/MAXPWAGE:{dni|UNLIMITED}] [/MINPWAGE:dni]
|
||||
[/UNIQUEPW:liczba] [/DOMAIN]
|
||||
.
|
||||
Language=Romanian
|
||||
NET ACCOUNTS [/FORCELOGOFF:{Minute|NO}] [/MINPWLEN:Lungime]
|
||||
[/MAXPWAGE:{Zile|UNLIMITED}] [/MINPWAGE:Zile]
|
||||
[/UNIQUEPW:Număr] [/DOMAIN]
|
||||
.
|
||||
Language=Russian
|
||||
NET ACCOUNTS [/FORCELOGOFF:{минуты | NO}] [/MINPWLEN:длина]
|
||||
[/MAXPWAGE:{дни | UNLIMITED}] [/MINPWAGE:дни]
|
||||
[/UNIQUEPW:число] [/DOMAIN]
|
||||
.
|
||||
Language=Spanish
|
||||
NET ACCOUNTS [/FORCELOGOFF:{minutos | NO}] [/MINPWLEN:longitud]
|
||||
[/MAXPWAGE:{días | UNLIMITED}] [/MINPWAGE:días]
|
||||
[/UNIQUEPW:número] [/DOMAIN]
|
||||
.
|
||||
Language=Turkish
|
||||
NET ACCOUNTS [/FORCELOGOFF:{Dakîka|NO}] [/MINPWLEN:Uzunluk]
|
||||
[/MAXPWAGE:{Gün|UNLIMITED}] [/MINPWAGE:Gün]
|
||||
[/UNIQUEPW:Sayı] [/DOMAIN]
|
||||
.
|
||||
Language=Chinese
|
||||
NET ACCOUNTS [/FORCELOGOFF:{Minutes|NO}] [/MINPWLEN:Length]
|
||||
[/MAXPWAGE:{Days|UNLIMITED}] [/MINPWAGE:Days]
|
||||
[/UNIQUEPW:Count] [/DOMAIN]
|
||||
.
|
||||
Language=Taiwanese
|
||||
NET ACCOUNTS [/FORCELOGOFF:{分鐘|NO}] [/MINPWLEN:長度]
|
||||
[/MAXPWAGE:{天|UNLIMITED}] [/MINPWAGE:天]
|
||||
[/UNIQUEPW:計數] [/DOMAIN]
|
||||
.
|
||||
|
||||
|
||||
MessageId=10001
|
||||
SymbolicName=MSG_ACCOUNTS_HELP
|
||||
Severity=Success
|
||||
Facility=System
|
||||
Language=English
|
||||
NET ACCOUNTS updates the user accounts database and modifies password
|
||||
and logon requirements for all accounts.
|
||||
When used without parameters, NET ACCOUNTS displays the current settings for
|
||||
passwords, logon limitations, and domain information.
|
||||
|
||||
Two conditions are required in order for options used with
|
||||
NET ACCOUNTS to take effect.
|
||||
|
||||
- The password and logon requirements are only effective if user
|
||||
accounts have been set up (user User Manager or the NET USER command).
|
||||
|
||||
- The Net Logon service must be running on all servers in the domain
|
||||
that verify logon. Net Logon is started automatically when the
|
||||
operating system starts.
|
||||
|
||||
/FORECELOGOFF:{minutes | NO} Sets the number of minutes a user has before
|
||||
being forced to log off when the
|
||||
account expires or valid logon hours expire.
|
||||
NO, the default, prevents forced logoff.
|
||||
/MINPWLEN:length Sets the minimum number of characters for
|
||||
a password. The range is 0-14 characters;
|
||||
the default is 6 characters.
|
||||
/MAXPWAGE:{days | UNLIMITED} Sets the maximum numer of days that a
|
||||
password is valid. No limit is specified
|
||||
by using UNLIMITED. /MAXPWAGE cannot be less
|
||||
than /MINPWAGE. The range is 1-999; the
|
||||
default is to leave the value unchanged.
|
||||
/MINPWAGE:days Sets the minimum number of days that must
|
||||
pass before a user can change a password.
|
||||
A value of 0 sets no minimum time. The range
|
||||
is 0-999; the default is 0 days. /MINPWAGE
|
||||
cannot be more than /MAXPWAGE.
|
||||
/UNIQUEPW:number Requires that a users passwords be unique
|
||||
through the specified number of password
|
||||
changes. The maximum value is 24.
|
||||
/DOMAIN Performs the operation on a domain
|
||||
controller of the current domain. Otherwise,
|
||||
the operation is performed on the local
|
||||
computer.
|
||||
.
|
||||
Language=Polish
|
||||
NET ACCOUNTS uaktualnia bazę kont użytkowników i zmienia hasło oraz wymagania
|
||||
logowania dla wszystkich kont.
|
||||
Użyte bez opcji, NET ACCOUNTS wyświetla bieżące ustawienia
|
||||
hasła i ograniczeń logowania oraz informacje o domenie.
|
||||
|
||||
Aby opcje użyte z NET ACCOUNTS odniosły skutek, muszą być
|
||||
spełnione dwa warunki.
|
||||
|
||||
- Wymagania hasła i logowania odnoszą skutek tylko wtedy, gdy
|
||||
zostało utworzone konto użytkownika (w tym celu użyj
|
||||
Menedżera użytkowników lub polecenia NET USER).
|
||||
|
||||
- Usługa logowania (Net Logon) musi być uruchomiona na wszystkich
|
||||
serwerach w domenie, które weryfikują logowanie. Usługa logowania
|
||||
jest uruchamiana automatycznie podczas uruchamiania systemu.
|
||||
|
||||
/FORECELOGOFF:{minuty | NO} Ustawia liczbę minut, przez które użytkownik
|
||||
może być zalogowany przed wymuszeniem wylogowania
|
||||
wskutek wygaśnięcia lub ważności godzin logowania.
|
||||
NO, wartość domyślna, zapobiega wymuszaniu
|
||||
wylogowania.
|
||||
/MINPWLEN:długość Ustawia minimalną liczbę znaków w haśle.
|
||||
Zakres długości hasła wynosi od 0 do 14 znaków;
|
||||
wartość domyślna to 6 znaków.
|
||||
/MAXPWAGE:{dni | UNLIMITED} Ustawia maksymalną liczbę dni ważności
|
||||
hasła. UNLIMITED ustala nieograniczony
|
||||
czas ważności hasła. Wartość /MAXPWAGE nie
|
||||
może być mniejsza od /MINPWAGE. Zakres wynosi
|
||||
od 1 do 999; domyślnie wartość się nie zmienia.
|
||||
/MINPWAGE:dni Ustawia minimalną liczbę dni, które muszą
|
||||
minąć, zanim użytkownik może zmienić hasło.
|
||||
Wartość 0 ustawia brak tego ograniczenia.
|
||||
Zakres wynosi od 0 do 999; wartość domyślna
|
||||
to 0 dni. Wartość /MINPWAGE nie może być
|
||||
większa od wartości /MAXPWAGE.
|
||||
/UNIQUEPW:liczba Wymaga, aby hasło użytkownika było unikatowe,
|
||||
poprzez określoną liczbę zmian hasła.
|
||||
Największa wartość to 24.
|
||||
/DOMAIN Wykonuje operacje na kontrolerze domeny
|
||||
w bieżącej domenie. W innym wypadku,
|
||||
operacje te są dokonywane na komputerze
|
||||
lokalnym.
|
||||
.
|
||||
Language=Romanian
|
||||
NET ACCOUNTS actualizează baza de utilizatori și modifică parola și
|
||||
cerințele de autentificare pentru toate conturile.
|
||||
Utilizat fără parametri, NET ACCOUNTS afișează configurația curentă pentru
|
||||
parole, limitări de autentificare, și informații de domeniu.
|
||||
|
||||
Sunt necesare două condiții pentru ca opțiunile utilizate cu
|
||||
NET ACCOUNTS să aibă efect.
|
||||
|
||||
- Cerințele de autentificare și parolele au sens doar când conturile
|
||||
sunt instituite (cu Gestionarul de Utilizatori sau comanda NET USER).
|
||||
|
||||
- Este necesar ca serviciul Net Logon să fie activ în toate servele din
|
||||
domeniul de autentificare. Serviciul Net Logon este lansat automat la
|
||||
pornirea sistemului de operare.
|
||||
|
||||
/FORECELOGOFF:{minute | NO} Definește numărul minutelor precursoare unei
|
||||
deautentificări forțate la expirarea contului
|
||||
sau a numărului valid de ore de autentificare.
|
||||
NO (implicit) previne deautentificarea forțată.
|
||||
/MINPWLEN:length Sets the minimum number of characters for
|
||||
a password. The range is 0-14 characters;
|
||||
the default is 6 characters.
|
||||
/MAXPWAGE:{days | UNLIMITED} Sets the maximum numer of days that a
|
||||
password is valid. No limit is specified
|
||||
by using UNLIMITED. /MAXPWAGE cannot be less
|
||||
than /MINPWAGE. The range is 1-999; the
|
||||
default is to leave the value unchanged.
|
||||
/MINPWAGE:days Sets the minimum number of days that must
|
||||
pass before a user can change a password.
|
||||
A value of 0 sets no minimum time. The range
|
||||
is 0-999; the default is 0 days. /MINPWAGE
|
||||
cannot be more than /MAXPWAGE.
|
||||
/UNIQUEPW:number Requires that a users passwords be unique
|
||||
through the specified number of password
|
||||
changes. The maximum value is 24.
|
||||
/DOMAIN Performs the operation on a domain
|
||||
controller of the current domain. Otherwise,
|
||||
the operation is performed on the local
|
||||
computer.
|
||||
.
|
||||
Language=Russian
|
||||
NET ACCOUNTS updates the user accounts database and modifies password
|
||||
and logon requirements for all accounts.
|
||||
When used without parameters, NET ACCOUNTS displays the current settings for
|
||||
passwords, logon limitations, and domain information.
|
||||
|
||||
Two conditions are required in order for options used with
|
||||
NET ACCOUNTS to take effect.
|
||||
|
||||
- The password and logon requirements are only effective if user
|
||||
accounts havebeen set up (user User Manager or the NET USER command).
|
||||
|
||||
- The Net Logon service must be running on all servers in the domain
|
||||
that verify logon. Net Logon is started autmatically when the
|
||||
operating system starts.
|
||||
|
||||
/FORECELOGOFF:{minutes | NO} Sets the number of minutes a user has before
|
||||
being forced to log off when the
|
||||
account expires or valid logon hours expire.
|
||||
NO, the default, prevents forced logoff.
|
||||
/MINPWLEN:length Sets the minimum number of characters for
|
||||
a password. The range is 0-14 characters;
|
||||
the default is 6 characters.
|
||||
/MAXPWAGE:{days | UNLIMITED} Sets the maximum numer of days that a
|
||||
password is valid. No limit is specified
|
||||
by using UNLIMITED. /MAXPWAGE cannot be less
|
||||
than /MINPWAGE. The range is 1-999; the
|
||||
default is to leave the value unchanged.
|
||||
/MINPWAGE:days Sets the minimum number of days that must
|
||||
pass before a user can change a password.
|
||||
A value of 0 sets no minimum time. The range
|
||||
is 0-999; the default is 0 days. /MINPWAGE
|
||||
cannot be more than /MAXPWAGE.
|
||||
/UNIQUEPW:number Requires that a users passwords be unique
|
||||
through the specified number of password
|
||||
changes. The maximum value is 24.
|
||||
/DOMAIN Performs the operation on a domain
|
||||
controller of the current domain. Otherwise,
|
||||
the operation is performed on the local
|
||||
computer.
|
||||
.
|
||||
Language=Spanish
|
||||
NET ACCOUNTS updates the user accounts database and modifies password
|
||||
and logon requirements for all accounts.
|
||||
When used without parameters, NET ACCOUNTS displays the current settings for
|
||||
passwords, logon limitations, and domain information.
|
||||
|
||||
Two conditions are required in order for options used with
|
||||
NET ACCOUNTS to take effect.
|
||||
|
||||
- The password and logon requirements are only effective if user
|
||||
accounts have been set up (user User Manager or the NET USER command).
|
||||
|
||||
- The Net Logon service must be running on all servers in the domain
|
||||
that verify logon. Net Logon is started automatically when the
|
||||
operating system starts.
|
||||
|
||||
/FORECELOGOFF:{minutes | NO} Sets the number of minutes a user has before
|
||||
being forced to log off when the
|
||||
account expires or valid logon hours expire.
|
||||
NO, the default, prevents forced logoff.
|
||||
/MINPWLEN:length Sets the minimum number of characters for
|
||||
a password. The range is 0-14 characters;
|
||||
the default is 6 characters.
|
||||
/MAXPWAGE:{days | UNLIMITED} Sets the maximum numer of days that a
|
||||
password is valid. No limit is specified
|
||||
by using UNLIMITED. /MAXPWAGE cannot be less
|
||||
than /MINPWAGE. The range is 1-999; the
|
||||
default is to leave the value unchanged.
|
||||
/MINPWAGE:days Sets the minimum number of days that must
|
||||
pass before a user can change a password.
|
||||
A value of 0 sets no minimum time. The range
|
||||
is 0-999; the default is 0 days. /MINPWAGE
|
||||
cannot be more than /MAXPWAGE.
|
||||
/UNIQUEPW:number Requires that a users passwords be unique
|
||||
through the specified number of password
|
||||
changes. The maximum value is 24.
|
||||
/DOMAIN Performs the operation on a domain
|
||||
controller of the current domain. Otherwise,
|
||||
the operation is performed on the local
|
||||
computer.
|
||||
.
|
||||
Language=Turkish
|
||||
NET ACCOUNTS updates the user accounts database and modifies password
|
||||
and logon requirements for all accounts.
|
||||
When used without parameters, NET ACCOUNTS displays the current settings for
|
||||
passwords, logon limitations, and domain information.
|
||||
|
||||
Two conditions are required in order for options used with
|
||||
NET ACCOUNTS to take effect.
|
||||
|
||||
- The password and logon requirements are only effective if user
|
||||
accounts havebeen set up (user User Manager or the NET USER command).
|
||||
|
||||
- The Net Logon service must be running on all servers in the domain
|
||||
that verify logon. Net Logon is started autmatically when the
|
||||
operating system starts.
|
||||
|
||||
/FORECELOGOFF:{minutes | NO} Sets the number of minutes a user has before
|
||||
being forced to log off when the
|
||||
account expires or valid logon hours expire.
|
||||
NO, the default, prevents forced logoff.
|
||||
/MINPWLEN:length Sets the minimum number of characters for
|
||||
a password. The range is 0-14 characters;
|
||||
the default is 6 characters.
|
||||
/MAXPWAGE:{days | UNLIMITED} Sets the maximum numer of days that a
|
||||
password is valid. No limit is specified
|
||||
by using UNLIMITED. /MAXPWAGE cannot be less
|
||||
than /MINPWAGE. The range is 1-999; the
|
||||
default is to leave the value unchanged.
|
||||
/MINPWAGE:days Sets the minimum number of days that must
|
||||
pass before a user can change a password.
|
||||
A value of 0 sets no minimum time. The range
|
||||
is 0-999; the default is 0 days. /MINPWAGE
|
||||
cannot be more than /MAXPWAGE.
|
||||
/UNIQUEPW:number Requires that a users passwords be unique
|
||||
through the specified number of password
|
||||
changes. The maximum value is 24.
|
||||
/DOMAIN Performs the operation on a domain
|
||||
controller of the current domain. Otherwise,
|
||||
the operation is performed on the local
|
||||
computer.
|
||||
.
|
||||
Language=Chinese
|
||||
NET ACCOUNTS updates the user accounts database and modifies password
|
||||
and logon requirements for all accounts.
|
||||
When used without parameters, NET ACCOUNTS displays the current settings for
|
||||
passwords, logon limitations, and domain information.
|
||||
|
||||
Two conditions are required in order for options used with
|
||||
NET ACCOUNTS to take effect.
|
||||
|
||||
- The password and logon requirements are only effective if user
|
||||
accounts havebeen set up (user User Manager or the NET USER command).
|
||||
|
||||
- The Net Logon service must be running on all servers in the domain
|
||||
that verify logon. Net Logon is started autmatically when the
|
||||
operating system starts.
|
||||
|
||||
/FORECELOGOFF:{minutes | NO} Sets the number of minutes a user has before
|
||||
being forced to log off when the
|
||||
account expires or valid logon hours expire.
|
||||
NO, the default, prevents forced logoff.
|
||||
/MINPWLEN:length Sets the minimum number of characters for
|
||||
a password. The range is 0-14 characters;
|
||||
the default is 6 characters.
|
||||
/MAXPWAGE:{days | UNLIMITED} Sets the maximum numer of days that a
|
||||
password is valid. No limit is specified
|
||||
by using UNLIMITED. /MAXPWAGE cannot be less
|
||||
than /MINPWAGE. The range is 1-999; the
|
||||
default is to leave the value unchanged.
|
||||
/MINPWAGE:days Sets the minimum number of days that must
|
||||
pass before a user can change a password.
|
||||
A value of 0 sets no minimum time. The range
|
||||
is 0-999; the default is 0 days. /MINPWAGE
|
||||
cannot be more than /MAXPWAGE.
|
||||
/UNIQUEPW:number Requires that a users passwords be unique
|
||||
through the specified number of password
|
||||
changes. The maximum value is 24.
|
||||
/DOMAIN Performs the operation on a domain
|
||||
controller of the current domain. Otherwise,
|
||||
the operation is performed on the local
|
||||
computer.
|
||||
.
|
||||
Language=Taiwanese
|
||||
NET ACCOUNTS updates the user accounts database and modifies password
|
||||
and logon requirements for all accounts.
|
||||
When used without parameters, NET ACCOUNTS displays the current settings for
|
||||
passwords, logon limitations, and domain information.
|
||||
|
||||
Two conditions are required in order for options used with
|
||||
NET ACCOUNTS to take effect.
|
||||
|
||||
- The password and logon requirements are only effective if user
|
||||
accounts havebeen set up (user User Manager or the NET USER command).
|
||||
|
||||
- The Net Logon service must be running on all servers in the domain
|
||||
that verify logon. Net Logon is started autmatically when the
|
||||
operating system starts.
|
||||
|
||||
/FORECELOGOFF:{minutes | NO} Sets the number of minutes a user has before
|
||||
being forced to log off when the
|
||||
account expires or valid logon hours expire.
|
||||
NO, the default, prevents forced logoff.
|
||||
/MINPWLEN:length Sets the minimum number of characters for
|
||||
a password. The range is 0-14 characters;
|
||||
the default is 6 characters.
|
||||
/MAXPWAGE:{days | UNLIMITED} Sets the maximum numer of days that a
|
||||
password is valid. No limit is specified
|
||||
by using UNLIMITED. /MAXPWAGE cannot be less
|
||||
than /MINPWAGE. The range is 1-999; the
|
||||
default is to leave the value unchanged.
|
||||
/MINPWAGE:days Sets the minimum number of days that must
|
||||
pass before a user can change a password.
|
||||
A value of 0 sets no minimum time. The range
|
||||
is 0-999; the default is 0 days. /MINPWAGE
|
||||
cannot be more than /MAXPWAGE.
|
||||
/UNIQUEPW:number Requires that a users passwords be unique
|
||||
through the specified number of password
|
||||
changes. The maximum value is 24.
|
||||
/DOMAIN Performs the operation on a domain
|
||||
controller of the current domain. Otherwise,
|
||||
the operation is performed on the local
|
||||
computer.
|
||||
.
|
Loading…
Reference in a new issue