Changeset 78662 for trunk/base/doc


Ignore:
Timestamp:
May 16, 2011, 4:01:21 PM (9 years ago)
Author:
jmr@…
Message:

document add_users in portfile(7)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/base/doc/portfile.7

    r67268 r78662  
    383383.Sy Example:
    384384.Dl replaced_by xorg-renderproto
     385.It Ic add_users
     386Consists of a list of usernames and settings. At appropriate times during the
     387port installation process, a user will be created for each username with the
     388corresponding settings. Settings are of the form name=value. A setting
     389applies to the username that appeared most recently before it in the list.
     390.sp
     391Applicable options are: group, gid (may be used instead of group), passwd,
     392realname, home, and shell.
     393.sp
     394.Sy Type:
     395.Em optional
     396.br
     397.Sy Default:
     398.Em none (empty)
     399.br
     400.Sy Example:
     401.Dl add_users squid group=squid realname=Squid\e Proxy home=${prefix}/var/squid
     402.sp
     403.Dl add_users user1 group=mygroup user2 group=mygroup
    385404.El
    386405.Sh TARGET HOOKS
     
    19531972.Xc
    19541973Add a new local user to the system with the specified uid, gid,
    1955 password, real name, home directory and login shell.
     1974password, real name, home directory and login shell. Note that it is usually
     1975preferable to set the add_users option rather than call adduser directly,
     1976since it may need to be called in multiple places to handle all cases (e.g.
     1977installing from a binary archive).
    19561978.It Ic existsuser Ar username
    19571979Check if a local user exists.
Note: See TracChangeset for help on using the changeset viewer.