Command: password
PASSWORD is a password tool for DOS which administrates several users.
Syntax:
password [/adduser] [/login] [/remuser] [/?]
Options:
/adduser Add a new user to the program. Has to be executed first.
/login Starts Login procedure. If you enter an existing user
created with /adduser and his password you can start FreeDOS.
/remuser Remove a user from the program.
/? Shows the help.
Comments:
You have to add "PASSWORD" at the begin of the AUTOEXEC.BAT.
You should add "SWITCHES=/F" at the begin of the CONFIG.SYS to prevent
a user from bypassing CONFIG.SYS / AUTOEXEC.BAT AND the password by
typing "F5"."
You should also change the BIOS settings: Boot from HD first (dont't
forget to set a BIOS password)
PASSWORD supports NLS (national language support).
Examples:
IN COMMAND LINE:
password /adduser First you have to enter the possible users and
their password, then:
IN CONFIG.SYS / FDCONFIG.SYS:
switches=/f Add this at the beginning of config.sys to prevent
a user from bypassing config.sys / autoexec.bat
with the "F5" key.
IN AUTOEXEC.BAT:
password /login The user must enter his username and password
from now on.
When booting up the next time you will be asked for user name and
password.
See also:
autoexec.bat
config.sys
fdconfig.sys
switches
File:
Please read this command's lsm file also.
You will find the updated version (internet) here and
the version described in this manual page here.
The lsm file contains information about the name of the programmer,
the download site, and some other command related information.
Copyright © 2008 W. Spiegl.
This file is derived from the FreeDOS Spec Command HOWTO.
See the file H2Cpying for copying conditions.