Project

General

Profile

Actions

Cleanup #9106

closed

ceph-authtool: Modifying user without --gen-key overwrites the key

Added by John Wilkins over 9 years ago. Updated almost 8 years ago.

Status:
Resolved
Priority:
Low
Assignee:
Category:
-
Target version:
-
% Done:

0%

Tags:
Backport:
Reviewed:
Affected Versions:
Pull request ID:

Description

If you are trying to modify a user's caps/permissions using ceph-authtool, and the user has an existing key, specifying a command such as:

sudo ceph-authtool -C /etc/ceph/ceph.keyring -n client.ringo --cap osd 'allow rwx' --cap mon 'allow rwx'

Will overwrite the key. Specifying --gen-key resolves the matter, but does mean that the key has to be regenerated each time a user changes permissions with ceph-authtool. This isn't the case with ceph auth caps.

Actions

Also available in: Atom PDF