1. 修改cassandra.yaml配置文件.启用用户密码登录形式. authenticator: PasswordAuthenticator authorizer: CassandraAuthorizer 2. 启动cassandra,cqlsh工具使用默认角色cassandra/cassandra登录. ./cqlsh 191.0.0.101 -u cassandra -p cassandra 3. 创建超级用户,密码. CREATE ROLE root WITH PASSWORD = '…