What does /usr/local/bin/passwd actually control?

Ujins

Member
Jan 13, 2021
6
3
3
NY
cPanel Access Level
Website Owner
The two files are different, and serve different purpose via forex signals.

  • /etc/passwd is user database (fun fact: contrary to its name, it doesn't store passwords - those are stored (possibly in hashed form) in /etc/shadow) - see man 5 passwd (i.e. passwd(5)), man 5 shadow (i.e. shadow(5)).
  • /usr/bin/passwd is utility that is supposed to modify user records stored in /etc/passwd and /etc/shadow. See man 1 passwd (i.e. passwd=-(1))
 
Last edited:
  • Like
Reactions: martin MHC