🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: pl.comp.lang.php
Article #387

Re: htpasswd i PHP

#387
From: Darek
Date: Wed, 22 Aug 2001 17:58
28 lines
1891 bytes
zrobiliscie juz to dodawanie userow przez www?

Użytkownik "Grzegorz R. Gryczka" <grg@tg.onet.pl> napisał w wiadomości
news:9lrsos$9oc$1@grzesiek.pc172.nisko.sdi.tpnet.pl...
> On Mon, 20 Aug 2001 22:06:47 +0200, Tom <sunnytom@poczta.onet.pl> wrote:
> > okej jako root a jako nie root . - nie dziala - a ja niestety nie mam
> > uprawnien roota
>
> grzesiek:~$ cat public_html/index.php
> ^^^^^^^^^^^
> [...]
>   system ("htpasswd -cb /tmp/htpasswd $id $passwd");
>                      ^
> [...]
>
> test@grzesiek:~$ lynx http://localhost/~grzesiek/
> ^^^^
> [...]
>
> grzesiek:~$ l /tmp/htpasswd
> -rw-r--r--    1 grzesiek www-data       19 sie 20 22:41 /tmp/htpasswd
>                 ^^^^^^^^^^^^^^^^^
> grzesiek:~$
>
>
> --
> Grzegorz R. Gryczka
> grg@tg.onet.pl
Technical Details
Message-ID: <9m0rjm$ce9$1@news.tpi.pl>
Path: mbox-mo1.pugleaf.net!news-archive.icm.edu.pl!pingwin.icm.edu.pl!mat.uni.torun.pl!news.man.torun.pl!news.icm.edu.pl!agh.edu.pl!news.agh.edu.pl!news.onet.pl!newsfeed.tpinternet.pl!news.tpi.pl!not-for-mail
References: <9lri4e$p9j$1@news.tpi.pl> <9lrn4o$1tl$1@grzesiek.pc172.nisko.sdi.tpnet.pl> <9lrnu0$sce$1@news.tpi.pl> <9lrpkd$5f8$1@grzesiek.pc172.nisko.sdi.tpnet.pl> <9lrqks$d58$1@news.tpi.pl> <9lrsos$9oc$1@grzesiek.pc172.nisko.sdi.tpnet.pl>

Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!news-archive.icm.edu.pl!pingwin.icm.edu.pl!mat.uni.torun.pl!news.man.torun.pl!news.icm.edu.pl!agh.edu.pl!news.agh.edu.pl!news.onet.pl!newsfeed.tpinternet.pl!news.tpi.pl!not-for-mail
From: "Darek" <darek@dk.pl>
Newsgroups: pl.comp.lang.php
Subject: Re: htpasswd i PHP
Date: Wed, 22 Aug 2001 19:58:56 +0200
Organization: tp.internet - http://www.tpi.pl
Lines: 30
Message-ID: <9m0rjm$ce9$1@news.tpi.pl>
References: <9lri4e$p9j$1@news.tpi.pl> <9lrn4o$1tl$1@grzesiek.pc172.nisko.sdi.tpnet.pl> <9lrnu0$sce$1@news.tpi.pl> <9lrpkd$5f8$1@grzesiek.pc172.nisko.sdi.tpnet.pl> <9lrqks$d58$1@news.tpi.pl> <9lrsos$9oc$1@grzesiek.pc172.nisko.sdi.tpnet.pl>
NNTP-Posting-Host: 213.77.61.18
X-Trace: news.tpi.pl 998502838 12745 213.77.61.18 (22 Aug 2001 17:53:58 GMT)
X-Complaints-To: usenet@tpi.pl
NNTP-Posting-Date: 22 Aug 2001 17:53:58 GMT
X-Newsreader: Microsoft Outlook Express 5.00.2919.6700
X-MSMail-Priority: Normal
X-Priority: 3
X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2919.6700
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit