『Linux』用SecureCRT远程登录,自动切到root账户的问题
来源:互联网 发布:深度linux系统写python 编辑:程序博客网 时间:2024/05/24 04:15
如从SecureCRT登录,用户名:zhangsan
到linux目录为:/home/zhangsan
登录成功后,显示:[zhangsan&....]#
如果需要登录时,同时切到root账户
则在【会话选项】中,设置【登录动作】选项,勾上【自动登录】并设置命令与root密码
有时会碰到输入:su -
命令后,显示【口令】中文字符,此时上述设置,在自动登录时,会遇到问题
这时候这么做:cd /home/zhangsan
cat .bash_profile
会看到:
# .bash_profile# Get the aliases and functionsif [ -f ~/.bashrc ]; then . ~/.bashrcfi# User specific environment and startup programsPATH=$PATH:$HOME/binexport PATH
修改该文件,末尾添加一行,设置为,默认英文显示:
export LANG=en_US.utf8
1 0
- 『Linux』用SecureCRT远程登录,自动切到root账户的问题
- 如何切换到root账户自动登录
- 关于SecureCRT远程登录Linux乱码的问题
- secureCRT直接登录linux的root用户
- ubuntu12 root账户自动登录
- 如何打开MySQL中root账户的远程登录
- 如何打开MySQL中root账户的远程登录
- 如何打开MySQL中root账户的远程登录
- 如何打开MySQL中root账户的远程登录
- 如何打开MySQL中root账户的远程登录
- 如何打开MySQL中root账户的远程登录
- ssh远程拒绝root账户登录
- SecureCRT无法远程登录到virtualbox中linux系统的解决方法
- linux 禁止账户远程登录
- linux本机root账户无法登录,但是远程ssh可登录
- SecureCRT密钥远程登录Linux
- SecureCRT密钥远程登录Linux
- secureCRT远程登录虚拟机Linux
- XSD工具使用方法介绍
- 最小生成树--Kruskal
- 利用辗转相除法求最小公倍数,最大公约数
- 非阻塞 TCP协议下多用户的服务器
- C++头文件
- 『Linux』用SecureCRT远程登录,自动切到root账户的问题
- 【创业公司如何分配股份期权?】
- 线程与进程的区别于联系
- 详解Adorner Layer
- Work Progress
- 计算机核心期刊排名及投稿经验
- Ubuntu 12.04 使用基本配置
- Cracking the coding interview--Q2.4
- eclipse导入项目,项目名出现红叉的情况