From: Nikola Milutinovic <Nikola.Milutinovic@ev.co.yu>
Subject: Re: Editiing /etc/passwd
Date: 1999/01/12 [thread overview]
Message-ID: <369AFB32.22F6BCE6@ev.co.yu> (raw)
In-Reply-To: 3695C60B.41C6@usa.net
Fiorino Alessandro wrote:
>
> I'm trying to write a program to change non-interactivly the password
> for an user: I'm writing directly to the /etc/passwd file using the
> putpwent function, but after the change the system still recognize the
> old password. Does it use an internal cache for the passwords ? How can
> I update it ?
There is a command "mkpasswd". It rebuilds passwd hashed database, look
into it.
Nix.
prev parent reply other threads:[~1999-01-12 5:00 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
1999-01-08 5:00 Editiing /etc/passwd Fiorino Alessandro
1999-01-11 5:00 ` Peter Mueri
1999-01-12 5:00 ` Nikola Milutinovic [this message]
read-only archive
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox