info > newusers(8)

Not found locally for newusers. Try Google search

NEWUSERS(8) System Management Commands NEWUSERS(8)

πŸ“– NAME

newusers - update and create new users in batch

πŸš€ Quick Reference

Use CaseCommandDescription
Create or update users from a filenewusers [file]Reads a file (or stdin) and creates/updates users. Each line is a password record.
Create system accountsnewusers -r [file]Creates system accounts with UID/GID in the system range (SYS_UID_MIN–SYS_UID_MAX).
Apply changes in a chroot environmentnewusers -R CHROOT_DIR [file]Apply changes in the specified CHROOT_DIR directory, using configuration files from there.
Allow non‑standard usernamesnewusers --badname [file]Allow names that do not conform to standards.

πŸ“‹ SYNOPSIS

newusers [options] [file]

πŸ“ DESCRIPTION

The newusers command reads a file (or the standard input by default) and uses this information to update a set of existing users or to create new users. Each line is in the same format as the standard password file (see passwd(5)) with the exceptions explained below:

pw_name:pw_passwd:pw_uid:pw_gid:pw_gecos:pw_dir:pw_shell

newusers first tries to create or change all the specified users, then writes these changes to the user or group databases. If an error occurs (except in the final writes), no changes are committed. During this first pass, users are created with a locked password (and passwords are not changed for existing users). A second pass updates passwords using PAM. Failures to update a password are reported but do not stop other updates. This command is intended for large system environments where many accounts are updated at once.

βš™οΈ OPTIONS

The options which apply to the newusers command are:

πŸ”Ή --badname

Allow names that do not conform to standards.

πŸ”Ή -h, --help

Display help message and exit.

πŸ”Ή -r, --system

Create a system account. System users will be created with no aging information in /etc/shadow, and their numeric identifiers are chosen in the SYS_UID_MIN–SYS_UID_MAX range (defined in login.defs) instead of UID_MIN–UID_MAX (and their GID counterparts for the creation of groups).

πŸ”Ή -R, --root CHROOT_DIR

Apply changes in the CHROOT_DIR directory and use the configuration files from the CHROOT_DIR directory.

⚠️ CAVEATS

The input file must be protected since it contains unencrypted passwords.

πŸ”§ CONFIGURATION

The following configuration variables in /etc/login.defs change the behavior of this tool:

πŸ“ FILES

πŸ“š SEE ALSO

login.defs(5), passwd(1), subgid(5), subuid(5), useradd(8).

newusers(8)
πŸ“– NAME πŸš€ Quick Reference πŸ“‹ SYNOPSIS πŸ“ DESCRIPTION βš™οΈ OPTIONS
πŸ”Ή --badname πŸ”Ή -h, --help πŸ”Ή -r, --system πŸ”Ή -R, --root CHROOT_DIR
⚠️ CAVEATS πŸ”§ CONFIGURATION πŸ“ FILES πŸ“š SEE ALSO

Generated by phpman v4.10.0-7-g98e9fd5 Author: Che Dong Under GNU General Public License
2026-09-10 21:25 @2600:1f28:365:80b0:2634:f534:c836:dc5e
CrawledBy CCBot/2.0 (https://commoncrawl.org/faq/)
Valid XHTML 1.0 Transitional!Valid CSS!