Change the user's home directory for centos
Change the user's home directory for centos
yum install finger
Install related components
id username
View user uid
usermod -d /home/newfolder -u uid username
Modify the user's home directory,
finger username
Check whether the user home is successfully modified.
It is impossible to modify the home directory for users who have logged in online.
see link
💘 相关文章
- acme.sh The domain is not a cert name解决方法
- How to query the hard disk usage time of various distribution Linux systems
- 更改用户home目录 for centos
- rclone error listing directory not found的解决方法
- unzip End-of-central-directory signature not found 错误的解放方法
- how to find out the ssh port of the cpanel host
- Seek the full name of this movie
- ubuntu系统出现user '_apt'. - pkgAcquire::Run (13: Permission denied)的结局方法
- freebsd Unknown user: 目录名.的解决方法
- truenas出现"pkg: file:///usr/ports/packages/packagesite.pkg: No such file or directory"的解决方法