terminal.cab

All commands

usermod

Topic: Users

Program: usermod

Changes a user, for example their groups.

Package: users

Usage

usermod [OPTION]... LOGIN

Description

Change the account LOGIN: groups, shell, comment, home directory, lock. Only root may do this.

Options in the simulator

17 more options of the real program, not in the simulator yet
  • -b, --badname not in the simulator yet

    This option exists on a real system; the simulator cannot do it for this command yet.

  • -e, --expiredate needs a value not in the simulator yet

    This option exists on a real system; the simulator cannot do it for this command yet.

  • -f, --inactive needs a value not in the simulator yet

    This option exists on a real system; the simulator cannot do it for this command yet.

  • -g, --gid needs a value not in the simulator yet

    This option exists on a real system; the simulator cannot do it for this command yet.

  • -l, --login needs a value not in the simulator yet

    usermod -l renames a user. The simulator cannot do that yet; create a new user (useradd) and delete the old one (userdel).

  • -o, --non-unique not in the simulator yet

    This option exists on a real system; the simulator cannot do it for this command yet.

  • -p, --password needs a value not in the simulator yet

    This option exists on a real system; the simulator cannot do it for this command yet.

  • -P, --prefix needs a value not in the simulator yet

    This option exists on a real system; the simulator cannot do it for this command yet.

  • -r, --remove not in the simulator yet

    This option exists on a real system; the simulator cannot do it for this command yet.

  • -R, --root needs a value not in the simulator yet

    This option exists on a real system; the simulator cannot do it for this command yet.

  • -u, --uid needs a value not in the simulator yet

    This option exists on a real system; the simulator cannot do it for this command yet.

  • -v, --add-subuids needs a value not in the simulator yet

    This option exists on a real system; the simulator cannot do it for this command yet.

  • -V, --del-subuids needs a value not in the simulator yet

    This option exists on a real system; the simulator cannot do it for this command yet.

  • -w, --add-subgids needs a value not in the simulator yet

    This option exists on a real system; the simulator cannot do it for this command yet.

  • -W, --del-subgids needs a value not in the simulator yet

    This option exists on a real system; the simulator cannot do it for this command yet.

  • -Z, --selinux-user needs a value not in the simulator yet

    This option exists on a real system; the simulator cannot do it for this command yet.

  • --selinux-range needs a value not in the simulator yet

    This option exists on a real system; the simulator cannot do it for this command yet.

Where you learn it

No lesson yet.

All commands