Date: Thu, 04 Dec 1997 14:39:28 +1030 From: Mike Smith <mike@smith.net.au> To: Gopakumar H Pillai <gopu@global.com> Cc: FreeBSD Questions <questions@freebsd.org>, hackers@freebsd.org Subject: Re: Passwd file updation Message-ID: <199712040409.OAA01448@word.smith.net.au> In-Reply-To: Your message of "Tue, 02 Dec 1997 14:58:35 -0800." <3484929A.F3ECC50F@global.com>
next in thread | previous in thread | raw e-mail | index | archive | help
> How should I go about updating the passwd file through a program in the > safest way? I mean, when I do vipw it creates a file /tmp/pwd.xxxxx > where xxxxx is the pid of the process. What all such steps should be > taken to update the passwd file and eventually the passwd database. Use 'pw' to do this. sprintf() and system() are your friends. mike
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199712040409.OAA01448>