Maple.Link

技术分享站

iptables 是标准的linux防火墙命令行控制工具, 其底层调用netfilter来实现各种功能

iptables 中最重要的概念就是 table, chain 和 rule

阅读全文 »

linux用户登录流程

  • init 阶段, 读/etc/inittab -> /etc/rc.local
  • getty 用于监听本地consloe, 打出username:, 获得用户输入之后调起/ets/login打出password:
  • 读/etc/passwd /etc/shadow 检查用户密码
  • 拉起shell
  • 读/etc/passwd 获取用户目录等信息,读/etc/motd获取欢迎界面
  • 读/etc/profile -> /etc/bashrc -> .profile 或 .login
  • 读.bashrc, .bash_profile
阅读全文 »
0%