From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fee84,61fb872b3dabb3a3 X-Google-Attributes: gidfee84,public From: Peter Mueri Subject: Re: Editiing /etc/passwd Date: 1999/01/11 Message-ID: <369A5A25.167E@pop.agri.ch>#1/1 X-Deja-AN: 431359749 Content-Transfer-Encoding: 7bit References: <3695C60B.41C6@usa.net> Content-Type: text/plain; charset=us-ascii X-Complaints-To: news@ip-plus.net X-Trace: pollux.ip-plus.net 916085389 2442 212.28.129.245 (11 Jan 1999 20:09:49 GMT) Organization: 64 Bit Linux/AXP forever! Mime-Version: 1.0 NNTP-Posting-Date: 11 Jan 1999 20:09:49 GMT Newsgroups: comp.unix.osf.osf1 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