Chapter 9. User Administration

Table of Contents
Short introduction to pdbtool
Adding a new user
Upgrading existing user.coda and group.coda databases
Upgrading from the coda.pdb/name.pdb databases used in 5.2.0/5.2.2

As of 5.2.x the user and group administration tools and databases have been replaced. Now, instead of editing user.coda and group.coda, and then converting them with pwdtopdb and pcfgen has been replaced by the new pdbtool program.

Short introduction to pdbtool

The pdbtool is an interactive command to manipulate and query user and group information. The most commonly used commands in the pdbtool are:

  • nui {username} {userid}

    -- create a new user, with the specified id.

  • ng {groupname} {ownerid}

    -- create a new group, with the specified owner.

  • ci {user/groupname} {newid}

    -- change the id of an existing user or group.

  • ag {group-id} {user/groupid}

    -- add a user/group to a group.

  • n {user/groupname}

    -- list all information about the user or group.

Note: User-ids are supposed to be positive integers, group-ids are negative integers.

For more information read the manualpage (pdbtool(8)), which is included in the coda-doc-version rpms and tarball, or simply play around with the pdbtool's help command.