🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: alt.linux
Article #51

Re: Authentication check via /etc/passwd

#51
From: Ken Hayber
Date: Sat, 14 Nov 1998 00:00
41 lines
2280 bytes
This is a multi-part message in MIME format.
--------------E9DB4C37D670993DCF26C55B
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit

You might want to check the Samba sources.  I seem to remember something
in there like that.  It was quite some time ago though.  I could easily
be wrong.

Jamie Orzechowski wrote:
> 
> Hi There ... I was wondering if you would know where I can find sample code
> to verifiing /etc/passwd and returning TRUE or FALSE ... I have a webpage
> where you enter the username and password the username is stored in
> cgivars[1] and password is cgivars[3] (the cgi is in C language) ... I have
> been searching everywhere for code that checks /etc/passwd but cannot find
> any =( ... it is for a time checking facilty for an ISP.  Mabey there is a
> better way? (5000 users) ... if there is a better way could someone could
> point me to it .. thanks!!
> 
>     -Jamie Orzechowski
>     mhz@recorder.ca
--------------E9DB4C37D670993DCF26C55B
Content-Type: text/x-vcard; charset=us-ascii;
 name="khayber.vcf"
Content-Transfer-Encoding: 7bit
Content-Description: Card for Ken Hayber
Content-Disposition: attachment;
 filename="khayber.vcf"

begin:vcard 
n:Hayber;Kenneth
x-mozilla-html:FALSE
adr:;;;;;;
version:2.1
email;internet:khayber@gte.net
x-mozilla-cpt:;288
fn:Kenneth Hayber
end:vcard

--------------E9DB4C37D670993DCF26C55B--
Technical Details
Message-ID: <72lkr2$147$1@news-2.news.gte.net>
Path: arc1-ca.pugleaf.net!unknown!not-for-mail
References: <eb%22.398$YH4.662445@198.235.216.4>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: f99bc,4133425ca11dded1
X-Google-Attributes: gidf99bc,public
X-Google-Thread: 100c5f,4133425ca11dded1
X-Google-Attributes: gid100c5f,public
X-Google-Thread: faa64,4133425ca11dded1
X-Google-Attributes: gidfaa64,public
X-Google-Thread: ff9be,4133425ca11dded1
X-Google-Attributes: gidff9be,public
From: Ken Hayber <khayber@gte.net>
Subject: Re: Authentication check via /etc/passwd
Date: 1998/11/14
Message-ID: <72lkr2$147$1@news-2.news.gte.net>
X-Deja-AN: 411972558
References: <eb%22.398$YH4.662445@198.235.216.4>
X-Accept-Language: en,ja
Content-Type: multipart/mixed; boundary="------------E9DB4C37D670993DCF26C55B"
Organization: gte.net
X-Auth: DC5A8D1210D7D69114978491
Mime-Version: 1.0
Newsgroups: alt.linux,alt.os.linux,apana.lists.os.linux.admin,comp.os.linux.questions