أنشئ حسابًا أو سجّل الدخول للانضمام إلى مجتمعك المهني.
Kindly refer man pages of usermod (for user/s details modification) and passwd Or chpasswd (for modify user password)e.g.To change the user name#usermod -l new oldTo change the home directory#usermod -d /home/newTo change user password#passwd username(Note : By changing of user name it will not replicate the changes with previous /existing file/s, folders/s (ownership & permissions) and other, we will have to perform the tasks separately).
If you want to change the Username :
usermod -l "oldusername" "newusername"
if you want to change the password. So you should as root user and login as the user you want to change the password.
passwd "username"
Usermod Command do all possible modification for the user.