Minh Phượng
New member
How do I change a passwd file?
Answer
The best way to edit /etc/passwd, or shadow or group file is to
use vipw command. Traditionally (under UNIX and Linux) if you use vi to edit /etc/passwd file and same time a user try to change a password while root editing file, then the user’s change will not entered into file.
Answer
The best way to edit /etc/passwd, or shadow or group file is to
use vipw command. Traditionally (under UNIX and Linux) if you use vi to edit /etc/passwd file and same time a user try to change a password while root editing file, then the user’s change will not entered into file.