Map usrcfg

De MappingDoc

map_usrcfg

User management command.

Creating a user

-addusr:XXXX             : Username to be created
-addgroupmembers:XXXX    : Group(s) to be added (member of)
-addgroupaccess:XXXX     : Group(s) to be added (access to)
[ -password:XXXX       ] : Apache password
[ -defaultprinter:XXXX ] : Default printer
[ -type:XXXX           ] : Type of default printer (queue/entry)
[ -reload              ] : Reloads the modified user
         e.g. : map_usrcfg -addusr:MY_USER -addgroupmembers:GRP1[,GRP2,GRP3] -password:my_passwd -defaultprinter:MY_QUEUE -type:queue -reload

Editing a user

-chgusr:XXXX               : Username to be modified
-addgroupmembers:XXXX      : Group(s) to be added (member of)
-addgroupaccess:XXXX       : Group(s) to be added (access to)
 or -delgroupmembers:XXXX  : Group to be deleted (1 by 1)
-delgroupaccess:XXXX       : Group to be deleted (1 by 1)
[ -defaultprinter:XXXX ]   : Default printer
[ -type:XXXX           ]   : Type of default printer (queue/entry)
[ -reload              ]   : Reloads the modified user
         e.g. : map_usrcfg -chgusr:MY_USER -addgroupaccess:GRP1[,GRP2,GRP3] -reload
                map_usrcfg -chgusr:MY_USER -delgroupmembers:GRP1 -reload
                map_usrcfg -chgusr:MY_USER -defaultprinter:MY_QUEUE -type:queue

Deleting a user

-delusr:XXXX  : Username to be deleted
[ -reload ]   : Reloads the daemon
         e.g. : map_usrcfg -delusr:MY_USER -reload

View users list

-viewmode:4                          : Displays the simplified users list
-viewmode:6                          : Displays the detailed users list
-viewmode:6 -tty                     : Displays the detailed users list, as well as the groups to which they belong
-touser:xxxx -getdefaultprinter -tty : Get default printer for user