Print this page
293 useradd/del/mod should be ZFS-aware

Split Close
Expand all
Collapse all
          --- old/usr/src/cmd/oamuser/user/messages.c
          +++ new/usr/src/cmd/oamuser/user/messages.c
↓ open down ↓ 27 lines elided ↑ open up ↑
  28   28   * Copyright 2006 Sun Microsystems, Inc.  All rights reserved.
  29   29   * Use is subject to license terms.
  30   30   */
  31   31  
  32   32  char *errmsgs[] = {
  33   33          "WARNING: uid %ld is reserved.\n",
  34   34          "WARNING: more than NGROUPS_MAX(%d) groups specified.\n",
  35   35          "ERROR: invalid syntax.\n"
  36   36              "usage:  useradd [-u uid [-o] | -g group | -G group[[,group]...] |"
  37   37              "-d dir | -b base_dir |\n"
  38      -            "\t\t-s shell | -c comment | -m [-k skel_dir] | -f inactive |\n"
       38 +            "\t\t-s shell | -c comment | -m [-z|Z] [-k skel_dir] |"
       39 +            "-f inactive |\n"
  39   40              "\t\t-e expire | -A authorization [, authorization ...] |\n"
  40   41              "\t\t-P profile [, profile ...] | -R role [, role ...] |\n"
  41   42              "\t\t-K key=value | -p project [, project ...]] login\n"
  42   43              "\tuseradd -D [-g group | -b base_dir | -f inactive | -e expire\n"
  43   44              "\t\t-A authorization [, authorization ...] |\n"
  44   45              "\t\t-P profile [, profile ...] | -R role [, role ...] |\n"
  45   46              "\t\t-K key=value ... -p project] | [-s shell] | [-k skel_dir]\n",
  46      -        "ERROR: Invalid syntax.\nusage:  userdel [-r] login\n",
       47 +        "ERROR: Invalid syntax.\nusage:  userdel [-r [-z|Z]] login\n",
  47   48          "ERROR: Invalid syntax.\n"
  48   49              "usage:  usermod -u uid [-o] | -g group | -G group[[,group]...] |\n"
  49      -            "\t\t-d dir [-m] | -s shell | -c comment |\n"
       50 +            "\t\t-d dir [-m [-z|Z]] | -s shell | -c comment |\n"
  50   51              "\t\t-l new_logname | -f inactive | -e expire |\n"
  51   52              "\t\t-A authorization [, authorization ...] | -K key=value ... |\n"
  52   53              "\t\t-P profile [, profile ...] | -R role [, role ...] login\n",
  53   54          "ERROR: Unexpected failure.  Defaults unchanged.\n",
  54   55          "ERROR: Unable to remove files from home directory.\n",
  55   56          "ERROR: Unable to remove home directory.\n",
  56   57          "ERROR: Cannot update system files - login cannot be %s.\n",
  57   58          "ERROR: uid %ld is already in use.  Choose another.\n",
  58   59          "ERROR: %s is already in use.  Choose another.\n",
  59   60          "ERROR: %s does not exist.\n",
↓ open down ↓ 46 lines elided ↑ open up ↑
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX