This is off topic, but I am not sure where to go.
I have a local user who cannot login because of a forgotten password, so I went to reset her password with
sudo passed <user>
Which appears to work, asking for a new password and a confirmation. No error occurs (unless I give it unmatched passwords), but the password is not changed.
if I try to change the password in the user's account (after su <user>) t requires the old password.
running on FreeBSD 11.0
When I try to change the password with sudo, the timestamp on /etc/passwd gets updated but there is nothing logged to anything in /var/log/
On 09/07/2017 02:24 PM, @lbutlr wrote:
sudo passed <user>
su - password username
-- So many immigrant groups have swept through our town that Brooklyn, like Atlantis, reaches mythological proportions in the mind of the world - RI Safir 1998 http://www.mrbrklyn.com
DRM is THEFT - We are the STAKEHOLDERS - RI Safir 2002 http://www.nylxs.com - Leadership Development in Free Software http://www2.mrbrklyn.com/resources - Unpublished Archive http://www.coinhangout.com - coins! http://www.brooklyn-living.com
Being so tracked is for FARM ANIMALS and and extermination camps, but incompatible with living as a free human being. -RI Safir 2013
On Sep 7, 2017, at 2:33 PM, Ruben Safir <ruben@mrbrklyn.com> wrote:
On 09/07/2017 02:24 PM, @lbutlr wrote:
sudo passed <user>
su - password username
No difference.
No difference when logging in to the console as root.
-- Apple broke AppleScripting signatures in Mail.app, so no random signatures.
On 09/07/2017 05:52 PM, @lbutlr wrote:
On Sep 7, 2017, at 2:33 PM, Ruben Safir <ruben@mrbrklyn.com> wrote:
On 09/07/2017 02:24 PM, @lbutlr wrote:
sudo passed <user>
su - password username
No difference.
No difference when logging in to the console as root.
not possible as it is described. Reinstall the box from scratch
-- So many immigrant groups have swept through our town that Brooklyn, like Atlantis, reaches mythological proportions in the mind of the world - RI Safir 1998 http://www.mrbrklyn.com
DRM is THEFT - We are the STAKEHOLDERS - RI Safir 2002 http://www.nylxs.com - Leadership Development in Free Software http://www2.mrbrklyn.com/resources - Unpublished Archive http://www.coinhangout.com - coins! http://www.brooklyn-living.com
Being so tracked is for FARM ANIMALS and and extermination camps, but incompatible with living as a free human being. -RI Safir 2013
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
On Thu, 7 Sep 2017, @lbutlr wrote:
I have a local user who cannot login because of a forgotten password, so I went to reset her password with
sudo passed <user>
After you did so, where does the passwort *not* work? In Dovecot? doveadm auth cache flush <user>
if I try to change the password in the user's account (after su <user>) t requires the old password. even after sudo passwd?
When I try to change the password with sudo, the timestamp on /etc/passwd gets updated but there is nothing logged to anything in /var/log/
Hmm, does the entry in /etc/passwd change, too?
Steffen Kaiser -----BEGIN PGP SIGNATURE----- Version: GnuPG v1
iQEVAwUBWbJgwnz1H7kL/d9rAQKQIggAoqHCuDd/xtVu3fxJ37YAb/H6CsYQFOB+ FGgDM/V55YuvL03uRKd9f61W+rVK8g73iUt+0RpO+v2OExpFHNPAxrY2Wi5VxNXi tHyaPAfBV7HaBQxeNxjJHDj6ObFyIPROJEUs1FZbqr3YfpvzfXAp27iYZHREu0Jt crKzJSGKnTPcGY3OBG21U81xsvDRk3CctVZrzwpvHFkpqm6HuKEoMSIoQS6rNtJ/ RdQAWCpylB4XvTcZsNAq5S4o0g+/5OiM/nw+uEcFnOL54fhcSxl4GHCK/CdSmD6g PjR/8EayZ5fZZeTtVJcfudsSmYwtJvgrjsEaZrgWHzGkFGl7N/O4IA== =xZFe -----END PGP SIGNATURE-----
On 09/08/2017 11:20 AM, Steffen Kaiser wrote:
When I try to change the password with sudo, the timestamp on /etc/passwd gets updated but there is nothing logged to anything in /var/log/
/etc/shadow should get updated but not /etc/passwd ! make a copy of /etc/passwd before the change and look at the diff
Olaf
-- Karlsruher Institut für Technologie (KIT) ATIS - Abt. Technische Infrastruktur, Fakultät für Informatik
Dipl.-Geophys. Olaf Hopp
- Leitung IT-Dienste -
Am Fasanengarten 5, Gebäude 50.34, Raum 009 76131 Karlsruhe Telefon: +49 721 608-43973 Fax: +49 721 608-46699 E-Mail: Olaf.Hopp@kit.edu atis.informatik.kit.edu
www.kit.edu
KIT – Die Forschungsuniversität in der Helmholtz-Gemeinschaft
Das KIT ist seit 2010 als familiengerechte Hochschule zertifiziert.
On Sep 8, 2017, at 3:20 AM, Steffen Kaiser <skdovecot@smail.inf.fh-brs.de> wrote:
sudo passed <user>
After you did so, where does the passwort *not* work? In Dovecot?
I never got as far as checking in dovecot. It did not work from the command line.
if I try to change the password in the user's account (after su <user>) t requires the old password. even after sudo passwd?
Right.
When I try to change the password with sudo, the timestamp on /etc/passwd gets updated but there is nothing logged to anything in /var/log/
Hmm, does the entry in /etc/passwd change, too?
There is no obvious change in the passwd file. I haven't tried to look in spwf.db, but its time stamp also changes.
-- Apple broke AppleScripting signatures in Mail.app, so no random signatures.
participants (4)
-
@lbutlr
-
Olaf Hopp
-
Ruben Safir
-
Steffen Kaiser