Can I edit etc passwd?

Can I edit etc passwd?
Answer
There is no such command to apply changes from /etc/passwd file. If user which details you’ve changed is logged in, it should just relogin to apply the changes. If not, they will be immediately available after login. This is because login reads details from passwd file during login and keeps it in memory until logout.
 

Tìm kiếm

Back
Top