0
点赞
收藏
分享

微信扫一扫

串口启用密码或者不用密码的配置方法(/etc/inittab)

hoohack 07-30 12:00 阅读 106

/etc/inittab

要密码

console::respawn:/sbin/getty -L  console 0 vt100

不用输入密码

::askfirst:-/bin/sh

 

例如:

# Put a getty on the serial port
#console::respawn:/sbin/getty -L console 0 vt100 # GENERIC_SERIAL
::askfirst:-/bin/sh



举报

相关推荐

0 条评论