From: Peter Mueri <MPe@pop.agri.ch>
Subject: Re: Editiing /etc/passwd
Date: 1999/01/11 [thread overview]
Message-ID: <369A5A25.167E@pop.agri.ch> (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 ?
Yes
>How can I update it ?
See vipw. This VI editor also updates the internal cache.
Peter
next prev parent reply other threads:[~1999-01-11 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 [this message]
1999-01-12 5:00 ` Nikola Milutinovic
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