自动登录linux系统
来源:互联网 发布:淘宝优惠券链接淘口令 编辑:程序博客网 时间:2024/04/27 19:27
auto login linux system
1. set grub timeout 3
This means that boot will continue after 3 seconds.
2. remove root account
vi /etc/passwd
In this line
root:X:0:0:root:/root:/bin/bash,
remove the second segment. This line will become as belows.
root::0:0:root:/root:/bin/bash
vi /etc/shadow
In this line
root:!^&#*@(&#*&:14125:0:99999:7::1,
remove the second segment. This line will become as belows.
root::14125:0:99999:7::1
3. auto login as root
vi /etc/inittab
find this line:
0:2345:raspawn:/sbin/mingetty console
change this line as below.
0:2345:raspawn:/sbin/mingetty --autologin root console
reboot the linux host, root will boot automatically.
1. set grub timeout 3
This means that boot will continue after 3 seconds.
2. remove root account
vi /etc/passwd
In this line
root:X:0:0:root:/root:/bin/bash,
remove the second segment. This line will become as belows.
root::0:0:root:/root:/bin/bash
vi /etc/shadow
In this line
root:!^&#*@(&#*&:14125:0:99999:7::1,
remove the second segment. This line will become as belows.
root::14125:0:99999:7::1
3. auto login as root
vi /etc/inittab
find this line:
0:2345:raspawn:/sbin/mingetty console
change this line as below.
0:2345:raspawn:/sbin/mingetty --autologin root console
reboot the linux host, root will boot automatically.
0 0
- 自动登录linux系统
- Linux系统字符终端自动登录问题
- 自动登录Windows系统
- Windows系统自动登录
- XP系统自动登录
- 系统开机自动登录
- SharedPreferences自动登录系统
- 系统间自动登录
- linux系统中中php实现ssh自动登录
- Putty自动登录Linux
- linux 设置自动登录
- linux自动登录
- 如何自动登录linux
- linux ssh 自动登录
- linux自动登录
- linux ssh自动登录
- 嵌入式linux自动登录
- SSH自动登录Linux
- js选取元素的宽(高)度
- collection collections
- cassandra入门 框架模型 总结
- iOS开发之自定义表情键盘(组件封装与自动布局)
- Unix时代的开创者Ken Thompson
- 自动登录linux系统
- JSON 之 FastJson 的简单使用
- 黑马程序员——API对象—Object类、String类、StringBuffer、包装类
- 指针数组、数组指针、函数指针、指针函数总结
- 后会无期
- 网络电台研究(3)Fragment系统学习,解决各种问题
- JVM调优总结 -Xms -Xmx -Xmn -Xss
- 关于最新的OPENCV3.0 for IOS8.1在XCode 6.1中的配置
- Django---管理界面简单设置