修改Linux的用户的默认登录目录. 发表于 2007-07-20 更新于 2025-02-15 分类于 Linux用户管理 进入/etc,打开passwd文件. 如: root:x:0:0:root:/root:/bin/bash 只需要把里面的/root改为其他目录即可.