
如何找出zeppelin的登入帳號密碼?
发布日期:2021-05-06 19:49:02
浏览次数:28
分类:技术文章
本文共 753 字,大约阅读时间需要 2 分钟。
如何找出zeppelin的登入帳號密碼?
前言
如果忘記了zeppelin的密碼該怎麼辦呢?
我們可以登入zeppelin的運行主機,然後從設定檔中找出可用的帳戶密碼。 本篇記錄了詳細的步驟。步驟
首先要從ssh登入運行zeppelin的主機,再依以下步驟執行。
切換到zeppelin的安裝目錄
cd /root/zeppelin
或:
cd /var/lib/zeppelin
或:
cd /opt/zeppelin
從conf/shiro.ini中找出帳戶密碼
grep "\[users\]" conf/shiro.ini -A 10
範例輸出:
[users]
# List of users with their password allowed to access Zeppelin. # To use a different strategy (LDAP / Database / …) check the shiro doc at # To enable admin user, uncomment the following line and set an appropriate password. admin = password1, admin #user1 = password2, role1, role2 #user2 = password3, role3 #user3 = password4, role2 account = password# Sample LDAP configuration, for user Authentication, currently tested for single Realm
其中沒有以#開頭的就是可用的帳戶密碼。
參考連結
发表评论
最新留言
表示我来过!
[***.240.166.169]2025年04月02日 15时55分11秒
关于作者

喝酒易醉,品茶养心,人生如梦,品茶悟道,何以解忧?唯有杜康!
-- 愿君每日到此一游!
推荐文章
用float/double作为中转类型的“雷区”
2019-03-03
golang中interface的一些语法缺陷的改进
2019-03-03
vue-router路由 学习笔记
2019-03-03
【数据库】第七章课后题
2019-03-03
第四章 串、数组和广义表 —— BF算法和KMP算法
2019-03-03
[选拔赛1]花园(矩阵快速幂),JM的月亮神树(最短路),保护出题人(斜率优化)
2019-03-03
DLA:一种深度网络特征融合方法
2019-03-03
leetcode114(二叉树展开为链表)
2019-03-03
java —— static 关键字
2019-03-03
在 Python 调试过程中设置不中断的断点 | Linux 中国
2019-03-03
使用开源可视化工具来理解你的 Python 代码 | Linux 中国
2019-03-03
硬核观察 | 有人在比特币骗局中损失了 10 个比特币
2019-03-03
使用 top 命令了解 Fedora 的内存使用情况 | Linux 中国
2019-03-03
8皇后问题 递归 函数调用是重点
2019-03-03
1541 +1 *2 ²
2019-03-03
面试别慌!阿里专家带你从【入门+基础+进阶+项目】攻破SpringBoot
2019-03-03
【Java面试】30个 Java 集合面试必备的问题和答案
2019-03-03
华为鸿蒙到底是不是安卓系统套了个壳?
2019-03-03
fragment中recyclerview的重新加载问题
2019-03-03