* utils.xml (mkgroup): Align to changed usage.

(mkpasswd): Ditto.
This commit is contained in:
Corinna Vinschen 2014-11-12 14:50:56 +00:00
parent 35983199f3
commit 58d35b961e
2 changed files with 46 additions and 38 deletions

View File

@ -1,3 +1,8 @@
2014-11-07 Corinna Vinschen <corinna@vinschen.de>
* utils.xml (mkgroup): Align to changed usage.
(mkpasswd): Ditto.
2014-11-07 Corinna Vinschen <corinna@vinschen.de> 2014-11-07 Corinna Vinschen <corinna@vinschen.de>
* utils.xml (mkpasswd): Change /etc/group to /etc/passwd. * utils.xml (mkpasswd): Change /etc/group to /etc/passwd.

View File

@ -884,25 +884,26 @@ really need one. See the Cygwin User's Guide for more information.
Options: Options:
-l,--local [machine] print local groups -l,--local [machine] Print local group accounts of \"machine\",
(from local machine if no machine specified) from local machine if no machine specified.
-L,--Local machine ditto, but generate groupname with machine prefix Automatically adding machine prefix for local
-d,--domain [domain] print domain groups machine depends on settings in /etc/nsswitch.conf.
(from current domain if no domain specified) -L,--Local machine Ditto, but generate groupname with machine prefix.
-c,--current print current group -d,--domain [domain] Print domain groups,
-S,--separator char for -l use character char as domain\group from current domain if no domain specified.
separator in groupname instead of default '+' -c,--current Print current group.
-o,--id-offset offset change the default offset (0x10000) added to -S,--separator char For -L use character char as domain\\group
gids of foreign machine accounts. separator in groupname instead of default '+'.
-g,--group groupname only return information for the specified group -o,--id-offset offset Change the default offset (0x10000) added to gids
one of -l, -d must be specified, too -g,--group groupname Only return information for the specified group.
-b,--no-builtin don't print BUILTIN groups One of -l, -d must be specified, too.
-U,--unix grouplist print UNIX groups when using -l on a UNIX Samba -b,--no-builtin Don't print BUILTIN groups.
server. grouplist is a comma-separated list of -U,--unix grouplist Print UNIX groups when using -l on a UNIX Samba
server. Grouplist is a comma-separated list of
groupnames or gid ranges (root,-25,50-100). groupnames or gid ranges (root,-25,50-100).
(enumerating large ranges can take a long time!) Enumerating large ranges can take a long time!
-h,--help print this message -h,--help Print this message.
-v,--version print version information and exit -v,--version Print version information and exit.
Default is to print local groups on stand-alone machines, plus domain Default is to print local groups on stand-alone machines, plus domain
groups on domain controllers and domain member machines. groups on domain controllers and domain member machines.
@ -970,27 +971,29 @@ really need one. See the Cygwin User's Guide for more information.
Options: Options:
-l,--local [machine] print local user accounts -l,--local [machine] Print local user accounts of \"machine\",
(from local machine if no machine specified) from local machine if no machine specified.
-L,--Local machine ditto, but generate username with machine prefix Automatically adding machine prefix for local
-d,--domain [domain] print domain accounts machine depends on settings in /etc/nsswitch.conf.
(from current domain if no domain specified) -L,--Local machine Ditto, but generate username with machine prefix.
-c,--current print current user -d,--domain [domain] Print domain accounts,
-S,--separator char for -l use character char as domain\user from current domain if no domain specified.
separator in username instead of the default '+' -c,--current Print current user.
-o,--id-offset offset change the default offset (0x10000) added to uids -S,--separator char For -L use character char as domain\\user
in domain or foreign server accounts. separator in username instead of the default '+'.
-u,--username username only return information for the specified user -o,--id-offset offset Change the default offset (0x10000) added to uids
one of -l, -d must be specified, too of foreign local machine accounts. Use with -l/-L.
-b,--no-builtin don't print BUILTIN users -u,--username username Only return information for the specified user.
-p,--path-to-home path use specified path instead of user account home dir One of -l, -d must be specified, too
or /home prefix -b,--no-builtin Don't print BUILTIN users.
-U,--unix userlist print UNIX users when using -l on a UNIX Samba -p,--path-to-home path Use specified path instead of user account home dir
server. userlist is a comma-separated list of or /home prefix.
-U,--unix userlist Print UNIX users when using -l on a UNIX Samba
server. Userlist is a comma-separated list of
usernames or uid ranges (root,-25,50-100). usernames or uid ranges (root,-25,50-100).
(enumerating large ranges can take a long time!) Enumerating large ranges can take a long time!
-h,--help displays this message -h,--help Displays this message.
-V,--version version information and exit -V,--version Version information and exit.
Default is to print local accounts on stand-alone machines, domain accounts Default is to print local accounts on stand-alone machines, domain accounts
on domain controllers and domain member machines. on domain controllers and domain member machines.