update man page for __group type
Signed-off-by: Steven Armstrong <steven@icarus.ethz.ch>
This commit is contained in:
parent
ec99a22db6
commit
af0b62ecef
1 changed files with 10 additions and 20 deletions
|
@ -1,16 +1,16 @@
|
||||||
cdist-type__user(7)
|
cdist-type__group(7)
|
||||||
===================
|
===================
|
||||||
Steven Armstrong <steven-cdist--@--armstrong.cc>
|
Steven Armstrong <steven-cdist--@--armstrong.cc>
|
||||||
|
|
||||||
|
|
||||||
NAME
|
NAME
|
||||||
----
|
----
|
||||||
cdist-type__user - Manage users
|
cdist-type__group - Manage groups
|
||||||
|
|
||||||
|
|
||||||
DESCRIPTION
|
DESCRIPTION
|
||||||
-----------
|
-----------
|
||||||
This cdist type allows you to create or modify users on the target.
|
This cdist type allows you to create or modify groups on the target.
|
||||||
|
|
||||||
|
|
||||||
REQUIRED PARAMETERS
|
REQUIRED PARAMETERS
|
||||||
|
@ -20,34 +20,24 @@ None.
|
||||||
|
|
||||||
OPTIONAL PARAMETERS
|
OPTIONAL PARAMETERS
|
||||||
-------------------
|
-------------------
|
||||||
comment::
|
|
||||||
see usermod(8)
|
|
||||||
home::
|
|
||||||
see above
|
|
||||||
gid::
|
gid::
|
||||||
see above
|
see groupmod(8)
|
||||||
groups::
|
|
||||||
see above
|
|
||||||
password::
|
password::
|
||||||
see above
|
see above
|
||||||
shell::
|
|
||||||
see above
|
|
||||||
uid::
|
|
||||||
see above
|
|
||||||
|
|
||||||
|
|
||||||
EXAMPLES
|
EXAMPLES
|
||||||
--------
|
--------
|
||||||
|
|
||||||
--------------------------------------------------------------------------------
|
--------------------------------------------------------------------------------
|
||||||
# Create user account for foobar with operating system default settings
|
# Create a group 'foobar' with operating system default settings
|
||||||
__user foobar
|
__group foobar
|
||||||
|
|
||||||
# Same but with a different shell
|
# Same but with a specific gid
|
||||||
__user foobar --shell /bin/zsh
|
__group foobar --gid 1234
|
||||||
|
|
||||||
# Set explicit uid and home
|
# Same but with a gid and password
|
||||||
__user foobar --uid 1001 --shell /bin/zsh --home /home/foobar
|
__group foobar --gid 1234 --password 'crypted-password-string'
|
||||||
--------------------------------------------------------------------------------
|
--------------------------------------------------------------------------------
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue