O'Reilly logo

Ceph Cookbook - Second Edition by Karan Singh, Michael Hackett, Vikhyat Umrao

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

How to do it…

In the following recipe, we will discuss more Ceph user management by running some commands:

  1. To list the users in your cluster, execute the following command:
        # ceph auth list

The output of this command shows that for each daemon type, Ceph creates a user with different capabilities. It also lists the client.admin user, which is the cluster admin user.

  1. To retrieve a specific user, for example, client.admin, execute the following:
        # ceph auth get client.admin
  1. Create a user, client.rbd:
        # ceph auth get-or-create client.rbd

This will create the user, client.rbd, with no capabilities, and a user with no caps is of no use. ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required