linux禁用用户 发表于 2019-03-20 更新于 2026-03-03 分类于 技术分享 linux如何禁用用户呢? 1sudo usermod -L 用户名 或: 1sudo passwd -l 用户名 这样就可以禁用这个用户了.