3 ms·
That was a direct copy'n'paste from a session on centos7. Password age is kept in /etc/shadow, not /etc/passwd. So the passwd command is (needs to be) setuid.
by emmelaich 10y ago
That was a direct copy'n'paste from a session on centos7.
Password age is kept in /etc/shadow, not /etc/passwd.
So the passwd command is (needs to be) setuid.
Redhat generally limits what setuid programs can do.
Probably sensible.