张志明的个人博客

熟悉Ansible,Docker,Zabbix,Python,Shell,Iptables的这么一个devops

张志明的个人博客
  • 首页
  • 运维
  • Shell
  • Python
  • Iptables入门
  • 翻译
    • Kubernetes
    • Docker
  • Ansible
  • 关于网站
  • 关于博主

linux 服务器su 之后变成bash-4.1#

 2013/11/23 | 基本知识,运维 | Zhiming Zhang | 暂无评论 | 1520 views

首先先切换到普通账号的home目录 例如: 当前为root权限 cd /home/maple 执行如下命令,将缺失的配置文件拷贝到指定位置即可

Default
1
cp ./.bashrc /root

Default
1
cp ./.bash_profile /root

然后切换账号 su maple 然后再切换回root su 搞定……

linux 旧博客迁移
阅读全文»

站点信息

  • 分类:25个
  • 运行:3294天
  • 文章:550个
  • 页面:2个
  • 评论:108个
  • 标签:485个

标签云

errors Tuning rhel7 logrotate ssh jenkins ansible-playbook 算法 notify sar fstab 代理 CKA ssh-add iptables 堆排序 mysql vsftp rsync ARP sre 翻译 puppet openshift 入门 nagios limit openstack awk ruby apache free sqlserver kubernete pod module istio ps 文档 linux shell netfilter yum tcp Terraform ansible 旧博客迁移 Python Challenge httpd cli' 数据库 vi nginx aws tomcat7 kubernetes zabbix template copy python 爬虫 Linux网络安全技术与实现读后笔记 tomcat docker operator pacemaker ssh-agent 容器 top 教程
  • 热点文章

  • 最新文章

  • 随机文章

  • 热点

  • 最新

  • 随机

    cli 批量restore s3 ... 0cli 批量restor... 0什么是gitops 0什么是gitops 0什么是ami 0什么是ami 0限制读取s3的某个文件夹下文件的权限 0限制读取s3的某个文件夹... 0
    限制读取s3的某个文件夹下文件的权限 0 限制读取s3的某个文件夹... 0 cli 批量restore s3 ... 0 cli 批量restor... 0 什么是gitops 0 什么是gitops 0 什么是ami 0 什么是ami 0 istio Ingress Gate... 0 istio Ingres... 0
    ansible playbook 循... 0 ansible play... 0 awststs 分析日志文件生成ht... 0 awststs 分析日志... 0 公钥私钥证书(非常透彻)---转载 0 公钥私钥证书(非常透彻)... 0 工具“剪贴板”发布 0 工具“剪贴板”发布 0 如何撤销yum 安装的包 yum h... 0 如何撤销yum 安装的包... 0
Copyright © 2016 张志明的个人博客 友情链接:高边吕滔博客静觅二丫讲梵安全专题朱双印个人日志CDMOZ目录京ICP备15025452号-1| Theme By Specs