Date:Mon, 5 May 2014 17:46:22 -0400
From:Jan Schaumann
Message-ID: <20140505214622.gs26...@netmeister.org>
| That is, passwd(1) will act on the current login name as returned by
| getlogin(2),
It has been that way for as long as I have been using unix (since 6th
Hello,
Consider the following scenario:
$ whoami
jschauma
$ su - jdoe
Password:
$ whoami
jdoe
$ passwd
Changing password for jschauma.
Old Password:
That is, passwd(1) will act on the current login name as returned by
getlogin(2), regardless of whatever the current (effective or real) UID
may be