PKTURNKEY(1)

NOM
pkturnkey - page de manuel de pkturnkey 1.26_unofficial

DESCRIPTION
pkturnkey v1.26_unofficial (c) 2003, 2004, 2005, 2006, 2007 Jerome Alet - alet@librelogiciel.com

A turn key tool for PyKota. When launched, this command will initialize PyKota's database with all existing print queues and some or all users. For now, no prices or limits are set, so printing is fully accounted for, but not limited. That's why you'll probably want to also use edpykota once the database has been initialized.

command line usage :

    pkturnkey [options] [printqueues names]

options :

-v | --version
    Prints pkturnkey version number then exits.

-h | --help
    Prints this message then exits.

-c | --doconf
    Give hints about what to put into pykota.conf

-d | --dousers
    Manages users accounts as well.

-D | --dogroups
    Manages users groups as well. Implies -d | --dousers.

-e | --emptygroups
    Includes empty groups.

-f | --force
    Modifies the database instead of printing what it would do.

-u | --uidmin uid
    Only adds users whose uid is greater than or equal to uid. You can pass an username there as well, and its uid will be used automatically. If not set, 0 will be used automatically. Implies -d | --dousers.

-U | --uidmax uid
    Only adds users whose uid is lesser than or equal to uid. You can pass an username there as well, and its uid will be used automatically. If not set, a large value will be used automatically. Implies -d | --dousers.

-g | --gidmin gid
    Only adds groups whose gid is greater than or equal to gid. You can pass a groupname there as well, and its gid will be used automatically. If not set, 0 will be used automatically. Implies -D | --dogroups.

-G | --gidmax gid
    Only adds groups whose gid is lesser than or equal to gid. You can pass a groupname there as well, and its gid will be used automatically. If not set, a large value will be used automatically. Implies -D | --dogroups.

examples :

    $ pkturnkey --dousers --uidmin jerome

    Will simulate the initialization of PyKota's database will all existing printers and print accounts for all users whose uid is greater than or equal to jerome's one. Won't manage any users group.

    To REALLY initialize the database instead of simulating it, please use the -f | --force command line switch.

    You can limit the initialization to only a subset of the existing printers, by passing their names at the end of the command line.

This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.

Please report bugs to : Jerome Alet - alet@librelogiciel.com