我只知道一个用户的 UID,是否可以像我们使用 su -u someuser 这样的用户名那样在 CentOS 中使用 UID 切换用户?
su redhat centos
centos ×1
redhat ×1
su ×1