NAME
ftpgroups — group password file for use with the SITE GROUP and SITE GPASS commands.
DESCRIPTION
The
ftpgroups
file is the group password file for use with the
SITE GROUP and SITE GPASS commands.
To enable the use of this file, the entry
private yes
must be made in the configuration file
/etc/ftpd/ftpaccess.
This file contains an alphanumeric string, encrypted password, and the
actual group name from the
/etc/group
file.
Each entry is separated by
:.
After a 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
setgid())
a member of the group specified 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 and/or
punctuation) string.
encrypted_password
is the password
encrypted via
crypt(3),
exactly like in
/etc/passwd.
real_group_name
is the name of a valid group listed in
/etc/group.
NOTE: For this option to work for anonymous FTP users, the ftp
server must keep
/etc/group
permanently open and the group
access file is loaded into memory. This means that:
- (1)
the ftp server now has an additional file descriptor open, and
- (2)
the necessary passwords and access privileges granted to users via
SITE GROUP will be static for the duration of an FTP session.
If you have an urgent need to change the access groups and/or
passwords *NOW*, then kill all of the running FTP servers.
AUTHOR
ftpgroups
was developed by the Washington University, St. Louis, Missouri.