lppasswd(1)

lppasswd1

Add, change, or delete digest passwords.

Usage

lppasswd [username]

lppasswd -a [-g groupname] username

lppasswd -x username

Overview

lppasswd adds, changes, or deletes passwords in the CUPS digest password file, passwd.md5. When run by a normal user, lppasswd will prompt for the old and new passwords. When run by the super-user, lppasswd can add new accounts (-a username), change existing accounts (username), or delete accounts (-x username) in the digest password file. Digest usernames do not have to match local UNIX usernames.

Options

lppasswd supports the following options:

-g groupname

Specifies a group other than the default system group.

Security issues

By default, the lppasswd program is not installed to allow ordinary users to change their passwords. To enable this, the lppasswd command must be made setuid to root with the command:

chmod u+s lppasswd

This change will be overridden by further updates of the cups-client package. The following command ensures that it will be preserved:

dpkg-statoverride --add root root 4755 /usr/bin/lppasswd

While every attempt has been made to make lppasswd secure against exploits that could grant super-user privileges to unprivileged users, paranoid system administrators may wish to use Basic authentication with accounts managed by PAM instead.

Releases

7 releases since Debian 3.0 (Woody); the text changed 6 times.

  1. 3.0
  2. 3.1
  3. 4.0
  4. 5.0
  5. 6.0
  6. 7
  7. 8

-g since Debian 4.0 (Etch).

From cups-client 1.7.5-11+deb8u2 in Debian 8 (Jessie). Parsed by carta from the page's man source.