Return to BSD News archive
Path: euryale.cc.adfa.oz.au!newshost.carno.net.au!harbinger.cc.monash.edu.au!news.cs.su.oz.au!inferno.mpx.com.au!news.ci.com.au!brian.telstra.net!news.telstra.net!nsw.news.telstra.net!news.syd.connect.com.au!news.mel.connect.com.au!news.mel.aone.net.au!news.mira.net.au!pumpkin.pangea.ca!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!howland.erols.net!blackbush.xlink.net!news-ge.switch.ch!news-zh.switch.ch!ubnnews.unisource.ch!newssrv.ita.tip.net!i2unix!usenet@iunet.it From: Michele Setnikar <michele@uniserv.uniplan.it> Newsgroups: comp.unix.bsd.bsdi.misc Subject: HELP! How I can change the password?? Date: Thu, 10 Jul 1997 01:31:33 +0200 Lines: 20 Message-ID: <33C41F55.6C71@uniserv.uniplan.it> Reply-To: michele@uniserv.uniplan.it NNTP-Posting-Host: net128-186.mclink.it Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Mailer: Mozilla 3.01Gold (Win95; I) Xref: euryale.cc.adfa.oz.au comp.unix.bsd.bsdi.misc:7089 Hi all, I'm writing an interface to allow the user to change their password via a CGI programs. I know that could be a possible security hole but I have not this kind of problems. On other Unix (such as AIX, SCO, DECUnix, or SVR4) I've found the calls to read and to write the pw entry. So I've written a simple C program to change the password, after that I'v set the SUID bit in the permission and it's works. Under BSD I do not find the cals to write the entry. Do you have any suggestions. Thanks, Michele