Installing the cqlsh security packages
Install packages to use cqlsh with a Kerberized cluster.
To use cqlsh with a Kerberized cluster, you must install the PyKerberos and python-pure-sasl packages. The PyKerberos package is a high-level wrapper for Kerberos (GSSAPI) operations. The python-pure-sasl package is a pure Python client-side SASL (Simple Authentication and Security Layer) implementation.
Adding the required modules for packaged installs
Debian-based installs:
$ sudo apt-get install python-pure-sasl
RHEL-based installs:
# yum install python-pure-sasl
Tarball installs:
To install from the binary tarball, you first install the PyKerberos module and then the pure-sasl module. DataStax recommends using APT or Yum because installing the dependencies can be difficult/time consuming. To install the modules:
Adding the required modules for tarball installs
To install from the binary tarball, you first install the PyKerberos module and then the pure-sasl module.