This account is currently not available
解决办法:
比如我是 su kafka的时候出现的问题
用vi看看 kafka的帐号信息
# cat /etc/passwd | grep kafka
发现它的shell是“/sbin /nologin”,需要将起改成“/bin/bash”
# vipw /etc/passwd
修改完毕后,保存退出
这 样再 su apache就可以很容易进去了
命令记录:
login as: root
root@10.0.0.10′s password:
[root@apache-2 ~]# vi /etc/passwd
将不能登录的用户后面修改为/bin/bash
‘ESC’ + wq 保存退出再切换登录你刚才的用户就可以了
This account is currently not available的更多相关文章
- 以bank account 数据为例,认识elasticsearch query 和 filter
		
Elasticsearch 查询语言(Query DSL)认识(一) 一.基本认识 查询子句的行为取决于 query context filter context 也就是执行的是查询(query)还是 ...
 - 在SharePoint 2010中,如何找回丢失的服务账号(Service Account)密码
		
背景信息: 通常在SharePoint环境中我们会使用很多的服务账号来运行各种不同的服务,尤其在企业环境中,由于权限管理条例严格,这些服务账号更是只能多不能少.面对如此多的服务账号,各个企业都会有自己 ...
 - SQL Server 2012 Managed Service Account
		
原创地址:http://www.cnblogs.com/jfzhu/p/4007472.html 转载请注明出处 (一)Windows服务使用的登陆帐号 Windows服务只有登录到某一帐户的情况下才 ...
 - Your account already has a valid iOS Distribution certificate!
		
iOS 发布提交出现:Your account already has a valid iOS Distribution certificate!问题解决 转载的链接 http://www.jia ...
 - scott/tiger登录时提醒ora-28000 the account is locked
		
scott/tiger登录时提示ora-28000 the account is locked在plsql developer中要是以scott/tiger登录时提示ora-28000 the acc ...
 - Xcode真机调试出现The account '***' has no team with ID '***'的解决方案
		
前段时间,想用真机调试的时候出现 The account '***' has no team with ID '***'的问题, 以前页真机调试过,没有这种情况,于是我登陆开发者中心,进去发现说我的账 ...
 - linux出现user account has expired解决方案
		
SUSE Linux 用户user1登陆不了,确认密码没错,使用root用户登陆,su - user1 提示密码不对,passwd user1提示帐户过期user account hasexpired ...
 - Azure China (4) 管理Azure China Storage Account
		
<Windows Azure Platform 系列文章目录> Update 2015-05-10 强烈建议使用AzCopy工具,AzCopy命令行工具,是经过优化的.高性能Azure S ...
 - Java-集合=第五题 (Map)设计Account 对象如下:  private long id;       private double balance;       private String password; 要求完善设计,使得该Account 对象能够自动分配id。 给定一个List 如下:  List list = new ArrayList();  list.add(new A
		
第五题 (Map)设计Account 对象如下: private long id; private double balance; private String password; 要求完善设计,使得 ...
 - 练习2  练习目标-使用引用类型的成员变量:在本练习中,将扩展银行项目,添加一个(客户类)Customer类。Customer类将包含一个Account对象。
		
package banking; public class Customer { private String firstName; private String lastName; private ...
 
随机推荐
- VC2010编译时提示:转换到 COFF 期间失败: 文件无效或损坏
			
有时候新安装好VS2010后编译时就提示上述错误,罗列一下从网上查找到的几种解决方案: 方案1: 点击“项目”-->“属性”--> “清单工具”, 然后选择"输入和输出’--&g ...
 - hd acm1061
			
Problem Description Given a positive integer N, you should output the most right digit of N^N. Inp ...
 - Render树、RenderObject与RenderLayer
			
Chapter: 呈现树的构建 1. 呈现树与CSS盒子模型千丝万缕的关系 2. 呈现树与DOM树的关系 3. 浏览器构建呈现树的流程 4. Firefox的规则树和样式上下文树 5. 规则树是如何解 ...
 - [算法]K-SUM problem
			
一.Two Sum Given an array of integers, find two numbers such that they add up to a specific target nu ...
 - 《python基础教程(第二版)》学习笔记 函数(第6章)
			
<python基础教程(第二版)>学习笔记 函数(第6章) 创建函数:def function_name(params): block return values 记录函数:def f ...
 - 在Delphi中使用ShellExecute(handle, 'open', PChar(fname),nil, nil, SW_HIDE)函数应注意的问题
			
在Delphi中使用ShellExecute(handle, 'open', PChar(fname),nil, nil, SW_HIDE)函数应注意的问题: 一.对一般vcl程序及isapi dll ...
 - pyqt5开发之俄罗斯方块
			
#!/usr/bin/python3 # -*- coding: utf-8 -*- """ ZetCode PyQt5 tutorial This is a Tetri ...
 - Windows下控制Nginx的状态
			
Windows下Nginx的启动.停止等命令 在Windows下使用Nginx,我们需要掌握一些基本的操作命令,比如:启动.停止Nginx服务,重新载入Nginx等,下面我就进行一些简单的介绍.1.启 ...
 - python再议装饰器
			
装饰器实质还是一个函数,是对其他函数进行装饰的函数.装饰器函数接受被装饰函数的函数名,返回被装饰函数的函数名.对一个函数进行装饰有两个原则:一是不能修改被装饰函数的源代码:二是被装饰函数的调用方式不可 ...
 - for循环中删除map中的元素,valgrind检测提示error:Invalid read of size 8
			
#include <iostream> #include <map> using namespace std; class A { public: typedef std::m ...