I am completely new to Linux. While I was watching a tutorial video about Ubuntu, I came across the command passwd
. When I tested, it shows;
(current) UNIX password:
Enter new UNIX password:
Retype new UNIX password:
Why does it say UNIX password? Is there a relation to UNIX?
It says UNIX because you're changing the password for authentication provided by the
pam_unix
PAM module. Quoting the manpage:It is related to Unix in that it uses the traditional files
/etc/passwd
and/etc/shadow
as the source of authentication.If you used another PAM module, like
pam_ldap
for LDAP authentication, it would say LDAP instead of UNIX:Simple answer: because Linux is an operating system based on the design of (and offering the full functionality of) the Unix model.
As a result, many tools, commands, software, etc.
Like some versions of 'passwd' were either