2 ms·
Only root can do that.
by emmelaich 10y ago
Only root can do that.
- Dylan16807 10y agoI'm not sure why that would matter, but that's not true. No sudo needed to look up that I set my password on this VM on 2013-10-08.
- emmelaich 10y agoThat 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.