Lines Matching full:parser
31 parser = myArgumentParser(prog='useradd')
32 …parser.add_argument("-b", "--base-dir", metavar="BASE_DIR", help="base directory for the home dire…
33 parser.add_argument("-c", "--comment", metavar="COMMENT", help="GECOS field of the new account")
34 …parser.add_argument("-d", "--home-dir", metavar="HOME_DIR", help="home directory of the new accoun…
35 …parser.add_argument("-D", "--defaults", help="print or change default useradd configuration", acti…
36 …parser.add_argument("-e", "--expiredate", metavar="EXPIRE_DATE", help="expiration date of the new …
37 …parser.add_argument("-f", "--inactive", metavar="INACTIVE", help="password inactivity period of th…
38 …parser.add_argument("-g", "--gid", metavar="GROUP", help="name or ID of the primary group of the n…
39 …parser.add_argument("-G", "--groups", metavar="GROUPS", help="list of supplementary groups of the …
40 …parser.add_argument("-k", "--skel", metavar="SKEL_DIR", help="use this alternative skeleton direct…
41 … parser.add_argument("-K", "--key", metavar="KEY=VALUE", help="override /etc/login.defs defaults")
42 …parser.add_argument("-l", "--no-log-init", help="do not add the user to the lastlog and faillog da…
43 …parser.add_argument("-m", "--create-home", help="create the user's home directory", action="store_…
44 …parser.add_argument("-M", "--no-create-home", dest="create_home", help="do not create the user's h…
45 …parser.add_argument("-N", "--no-user-group", dest="user_group", help="do not create a group with t…
46 …parser.add_argument("-o", "--non-unique", help="allow to create users with duplicate (non-unique U…
47 …parser.add_argument("-p", "--password", metavar="PASSWORD", help="encrypted password of the new ac…
48 parser.add_argument("-R", "--root", metavar="CHROOT_DIR", help="directory to chroot into")
49 parser.add_argument("-r", "--system", help="create a system account", action="store_true")
50 parser.add_argument("-s", "--shell", metavar="SHELL", help="login shell of the new account")
51 parser.add_argument("-u", "--uid", metavar="UID", help="user ID of the new account")
52 …parser.add_argument("-U", "--user-group", help="create a group with the same name as the user", ac…
53 parser.add_argument("LOGIN", help="Login name of the new user")
55 return parser
59 parser = myArgumentParser(prog='groupadd')
60 …parser.add_argument("-f", "--force", help="exit successfully if the group already exists, and canc…
61 parser.add_argument("-g", "--gid", metavar="GID", help="use GID for the new group")
62 … parser.add_argument("-K", "--key", metavar="KEY=VALUE", help="override /etc/login.defs defaults")
63 …parser.add_argument("-o", "--non-unique", help="allow to create groups with duplicate (non-unique)…
64 …parser.add_argument("-p", "--password", metavar="PASSWORD", help="use this encrypted password for …
65 parser.add_argument("-R", "--root", metavar="CHROOT_DIR", help="directory to chroot into")
66 parser.add_argument("-r", "--system", help="create a system account", action="store_true")
67 parser.add_argument("GROUP", help="Group name of the new group")
69 return parser