Jump to content United States-English
HP.com Home Products and Services Support and Drivers Solutions How to Buy
» Contact HP
More options
HP.com home
HP-UX Reference > P

privatepw(1)

HP-UX 11i Version 3: February 2007
» 

Technical documentation

» Feedback
Content starts here

 » Table of Contents

 » Index

NAME

privatepw — change WU-FTPD group access file information

SYNOPSIS

/usr/bin/privatepw [-c] [-d accessgroup] [-f ftpgroups] [-g group accessgroup] [-l] [-V]

DESCRIPTION

If a site supports the SITE GROUP and SITE GPASS commands, it is necessary to be able to add, delete and list enhanced access group information. The privatepw utility is used to update this information in the group access file (/etc/ftpd/ftpgroups). This is meant as an administrative tool and not to be run by the general user population. This command requires read/write permission to the appropriate ftpgroups file.

Options

In the options defined below, accessgroup is an alphanumeric name specified to a group. Please see the Background section for details.

-c

Create a new /etc/ftpd/ftpgroups file.

-d accessgroup

Delete the specified accessgroup information from the ftpgroups file.

-f ftpgroups

Use the specified ftpgroups file for all updates. If this option is not specified by default it takes the /etc/ftpd/ftpgroups file.

-g group accessgroup

Set the real system group (defined in /etc/group) to the accessgroup specified. This is valid only when adding a new accessgroup or changing the password of an existing accessgroup.

-l

List the contents of the appropriate ftpgroups file.

-V

This option causes the program to display copyright and version information, then terminate.

Background

After user logs in, the SITE GROUP and SITE GPASS commands may be used to specify an enhanced access group and associated password. If the group name and password are valid, the user becomes (via setegid()) a member of the group list in the group access file (/etc/ftpd/ftpgroups)

The format of the group access file is:

access_group_name:encrypted_password:real_group_name

where access_group_name is an arbitrary (alphanumeric + punctuation) string. encrypted_password is the password encrypted via crypt(3C), exactly like in /etc/passwd. real_group_name is the name of a valid group listed in /etc/group.

AUTHOR

privatepw was developed by the Washington University, St. Louis, Missouri.

Printable version
Privacy statement Using this site means you accept its terms Feedback to webmaster
© 1983-2007 Hewlett-Packard Development Company, L.P.