Revision of Virtual users from Mon, 09/27/2010 - 14:09

Revisions allow you to track differences between multiple versions of your content, and revert back to older versions.

Virtual users is a simple mechanism to store a list of users, with their password, name, uid, directory, etc. strictly for use by the FTP server.

Create a separate "ftpgroup" group and an "ftpuser" user:

groupadd ftpgroup
useradd -g ftpgroup -d /dev/null -s /etc ftpuser

Commiting changes
Any changes you make to the virtual users won't be recognized by Pure-FTPd until you commit the changes in /etc/pureftpd.passwd into a PureDB file/etc/pureftpd.pdb:

pure-pw mkpd

There's no need to restart the pure-ftpd server to commit changes.
Enabled virtual user support
Assuming that Pure-FTPd has been compiled with virtual user support (./configure --with-puredb), add this switch to your startup command (i.e. /service/pure-ftpd/run):

-lpuredb:/etc/pureftpd.pdb

All maintenance of virtual users will be handled with the pure-pw command:

  • Add a user:
    pure-pw useradd joe -u ftpuser -d /home/ftpusers/joe
  • Delete a user:
    pure-pw userdel joe
  • Change a password:
    pure-pw passwd joe

Recent Updates

  • 9 months 1 week ago
    1.27.2 update
  • 9 months 3 weeks ago
    Drupal 10/11 config
  • 9 months 3 weeks ago
  • PHP
    9 months 3 weeks ago
    PHP 8.3.11 and AlmaLinux
  • 9 months 3 weeks ago
    New version of Pound
Error | Production Monkeys

Error

The website encountered an unexpected error. Please try again later.