On Sat, 2005-09-03 at 21:59 -0500, Patrick Shanahan wrote:
* Kelly J. Morris <kjmlists@comcast.net> [09-03-05 21:32]:
The logic seems to be circular: only root can add or change a password,
no:
DESCRIPTION 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.
....
The -g option specifies a group other than the system group - "sys", "system", or "root", depending on the operating system.
normal user is kelly super-user is root
but logging in as root or using sudo or su does not help me add or change the PW, because I don't know the PW that I am changing from. Whatever PW I am changing from, it is not the root PW nor the PW for my UID. If I have to have a PW generated by lppasswd, how do I get one if I don't have one to begin with, or don't know what it is?
SYNOPSIS lppasswd [ -a ] [ -g groupname ] [ -x ] [ username ]
to add kelly you need to be root to change kelly you need old password root can do everything
as root to remove kelly lppasswd -x kelly
as root to remove root lppasswd -x root
as root to add root lppasswd -a root system will ask for password system will ask for confirm
as root to add kelly lppasswd -a kelly system will ask for password system will ask for confirm
as kelly to change kelly's password lppasswd kelly system will ask for old password system will ask for new password
note: bad idea to use root's system password as lppasswd and bad idea to use kelly's system password as lppasswd
remember that the man pages are written by programers mostly, not users. College professors do not talk (for the most part) at a third grade level. Almost EVERYONE has trouble understanding *some* of the manpages and some are very poorly written.
gud luk,
Patrick - Thanks very much. This is a big help. In retrospect, this looks obvious :-) I set the lp PWs to new ones different from the user PWs for root and kelly and used the URL that Terry supplied to re-configure the printer from A4 to US Letter. Thanks again. Kelly
-- Patrick Shanahan Registered Linux User #207535 http://wahoo.no-ip.org @ http://counter.li.org HOG # US1244711 Photo Album: http://wahoo.no-ip.org/gallery
-- Kelly J. Morris <kjmlists@comcast.net>