If i do that using telnet it asks for nobody's password.
What does this mean?
"Tyrone Mills" <[EMAIL PROTECTED]> wrote in message
25636AA0C9F6D31192CE00E02905E08602D6E476@mailkel01">news:25636AA0C9F6D31192CE00E02905E08602D6E476@mailkel01...
> su nobody -c "/usr/local/bin/htpasswd -b /users/domain/.htpasswd abc pass"
>
> See what you get...
>
> "YoBro" <[EMAIL PROTECTED]> wrote in message
> news:<9e1i8t$op5$[EMAIL PROTECTED]>...
> > I have set the htpasswd file to 777 while i attempt to get this to work.
> >
> > I have found the htpasswd executable.
> > /usr/local/bin
> > So my code now reads:
> >
> > <?php
> > passthru ("/usr/local/bin/htpasswd -b /users/domain/.htpasswd abc
pass");
> > ?>
> > Still no go.
> > Any ideas to view errors while I attempt to write to the file .htpasswd
> >
> > YoBro
> >
> > "Shawn Reed" <[EMAIL PROTECTED]> wrote in message
> > 01C0DEF9.97DDEAA0@SHAWN">news:01C0DEF9.97DDEAA0@SHAWN...
> > the user that the webserver runs as (usually "apache" or "nobody") must
> have
> > write permissions to the file which htpasswd is attempting to write to,
or
> > else it won't be able to make the changes you are attempting to make.
> >
> > ~shawn
> >
> >
> > YoBro <[EMAIL PROTECTED]> wrote in message
> > news:<9e1h4j$8k5$[EMAIL PROTECTED]>...
> > > That didn't seem to work.
> > > I am beginning to pull my hair out now.
> > >
> > > ""Tolga "thorr" Orhon"" <[EMAIL PROTECTED]> wrote in message
> > > 9e1gjb$u1q$[EMAIL PROTECTED]">news:9e1gjb$u1q$[EMAIL PROTECTED]...
> > > > I mean the absolute path for executable.
> > > >
> > > > <?php
> > > > passthru ("/usr/bin/htpasswd -b /users/domain/.htpasswd abc pass");
> > > > ?>
> > > >
> > > > thorr
> > > >
> > > > ""YoBro"" <[EMAIL PROTECTED]> wrote in message
> > > > 9e1gb1$jnn$[EMAIL PROTECTED]">news:9e1gb1$jnn$[EMAIL PROTECTED]...
> > > > > My message described the absolute path with the provider I use.
> > > > >
> > > > > I am able to download the .htpasswd file from
> > > > > /users/domain/
> > > > >
> > > > > Still not working though.
> > > > >
> > > > > ""Tolga "thorr" Orhon"" <[EMAIL PROTECTED]> wrote in message
> > > > > 9e1fth$vi3$[EMAIL PROTECTED]">news:9e1fth$vi3$[EMAIL PROTECTED]...
> > > > > > May be you need to use absolute path for htpasswd. eg.
> > > /usr/bin/htpasswd
> > > > > > Did u check for any error msgs?
> > > > > >
> > > > > > thorr
> > > > > >
> > > > > > ""YoBro"" <[EMAIL PROTECTED]> wrote in message
> > > > > > 9e1fcd$pir$[EMAIL PROTECTED]">news:9e1fcd$pir$[EMAIL PROTECTED]...
> > > > > > > After much investigation through many newsgroups and websites,
I
> > > found
> > > > > out
> > > > > > > that this is the way you can execute a unix apache command to
> add
> > a
> > > > user
> > > > > > to
> > > > > > > the htpasswd list with PHP.
> > > > > > >
> > > > > > > Problem is, it doesn't add any information to the htpasswd
file.
> > > > > > > Note: The example below is...
> > > > > > > domain = my user name
> > > > > > > abc = user name to add to htpasswd list
> > > > > > > pass = password to add to htpasswd list
> > > > > > >
> > > > > > > <?php
> > > > > > > passthru ("htpasswd -b /users/domain/.htpasswd abc pass");
> > > > > > > ?>
> > > > > > >
> > > > > > > Please Help if you can.
> > > > > > >
> > > > > > > Cheers,
> > > > > > > YoBro
> > > > > > >
> > > > > > >
> > > > > > >
> > > > > > > --
> > > > > > > PHP General Mailing List (http://www.php.net/)
> > > > > > > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > > > > > > For additional commands, e-mail:
[EMAIL PROTECTED]
> > > > > > > To contact the list administrators, e-mail:
> > > > [EMAIL PROTECTED]
> > > > > > >
> > > > > >
> > > > > >
> > > > > >
> > > > > > --
> > > > > > PHP General Mailing List (http://www.php.net/)
> > > > > > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > > > > > For additional commands, e-mail: [EMAIL PROTECTED]
> > > > > > To contact the list administrators, e-mail:
> > > [EMAIL PROTECTED]
> > > > > >
> > > > >
> > > > >
> > > > >
> > > > > --
> > > > > PHP General Mailing List (http://www.php.net/)
> > > > > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > > > > For additional commands, e-mail: [EMAIL PROTECTED]
> > > > > To contact the list administrators, e-mail:
> > [EMAIL PROTECTED]
> > > > >
> > > >
> > > >
> > > >
> > > > --
> > > > PHP General Mailing List (http://www.php.net/)
> > > > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > > > For additional commands, e-mail: [EMAIL PROTECTED]
> > > > To contact the list administrators, e-mail:
> [EMAIL PROTECTED]
> > > >
> > >
> > >
> > >
> > > --
> > > PHP General Mailing List (http://www.php.net/)
> > > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > > For additional commands, e-mail: [EMAIL PROTECTED]
> > > To contact the list administrators, e-mail:
[EMAIL PROTECTED]
> > >
> > >
> >
> > --
> > PHP General Mailing List (http://www.php.net/)
> > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > For additional commands, e-mail: [EMAIL PROTECTED]
> > To contact the list administrators, e-mail: [EMAIL PROTECTED]
> >
> >
> >
> >
> > --
> > PHP General Mailing List (http://www.php.net/)
> > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > For additional commands, e-mail: [EMAIL PROTECTED]
> > To contact the list administrators, e-mail: [EMAIL PROTECTED]
> >
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> To contact the list administrators, e-mail: [EMAIL PROTECTED]
>
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]