How to authnticate and use contents from ${HOME}

View: New views
8 Messages — Rating Filter:   Alert me  

How to authnticate and use contents from ${HOME}

by schneider.chantale :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hello,

My name ich Chantale, I am 15years old and in a german Lycee. I like to study Informatic in two years and now try to code my first applications. I am new to php and like to code my own Intranet Web-Interface which should run on my FileServer at home.

I have installed suPHP, but it seems to be not the thing I need, because it works only on a VHost.

What I need is, that a ${USER} can login and work on her/his ${HOME}.

How can I archive this?

Thank you
Chantale







#adBox3 {display:none;}



--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


Re: How to authnticate and use contents from ${HOME}

by Phpster :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Try xamp or one of the preconfigured packages

bastien

On Sunday, July 5, 2009,  <schneider.chantale@...> wrote:

> Hello,
>
> My name ich Chantale, I am 15years old and in a german Lycee. I like to study Informatic in two years and now try to code my first applications. I am new to php and like to code my own Intranet Web-Interface which should run on my FileServer at home.
>
> I have installed suPHP, but it seems to be not the thing I need, because it works only on a VHost.
>
> What I need is, that a ${USER} can login and work on her/his ${HOME}.
>
> How can I archive this?
>
> Thank you
> Chantale
>
>
>
>
>
>
>
> #adBox3 {display:none;}
>
>
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
>

--

Bastien

Cat, the other other white meat

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


Re: How to authnticate and use contents from ${HOME}

by Isaac Dover :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi Chantale, as Bastien mentioned, a preconfigured package might be the best
way to go. Wikipedia has more information:

http://en.wikipedia.org/wiki/List_of_LAMP_Packages

What are you wanting to build in your interface?

 - Isaac

On Mon, Jul 6, 2009 at 9:14 AM, Bastien Koert <phpster@...> wrote:

> Try xamp or one of the preconfigured packages
>
> bastien
>
> On Sunday, July 5, 2009,  <schneider.chantale@...> wrote:
> > Hello,
> >
> > My name ich Chantale, I am 15years old and in a german Lycee. I like to
> study Informatic in two years and now try to code my first applications. I
> am new to php and like to code my own Intranet Web-Interface which should
> run on my FileServer at home.
> >
> > I have installed suPHP, but it seems to be not the thing I need, because
> it works only on a VHost.
> >
> > What I need is, that a ${USER} can login and work on her/his ${HOME}.
> >
> > How can I archive this?
> >
> > Thank you
> > Chantale
> >
> >
> >
> >
> >
> >
> >
> > #adBox3 {display:none;}
> >
> >
> >
> > --
> > PHP General Mailing List (http://www.php.net/)
> > To unsubscribe, visit: http://www.php.net/unsub.php
> >
> >
>
> --
>
> Bastien
>
> Cat, the other other white meat
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
>

Re: How to authnticate and use contents from ${HOME}

by Jan G.B. :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

2009/7/6 Isaac Dover <isaacdover@...>

> Hi Chantale, as Bastien mentioned, a preconfigured package might be the
> best
> way to go. Wikipedia has more information:
>
> http://en.wikipedia.org/wiki/List_of_LAMP_Packages
>
> What are you wanting to build in your interface?
>
>  - Isaac
>
> On Mon, Jul 6, 2009 at 9:14 AM, Bastien Koert <phpster@...> wrote:
>
> > Try xamp or one of the preconfigured packages
> >
> > bastien
> >
> > On Sunday, July 5, 2009,  <schneider.chantale@...> wrote:
> > > Hello,
> > >
> > > My name ich Chantale, I am 15years old and in a german Lycee. I like to
> > study Informatic in two years and now try to code my first applications.
> I
> > am new to php and like to code my own Intranet Web-Interface which should
> > run on my FileServer at home.
> > >
> > > I have installed suPHP, but it seems to be not the thing I need,
> because
> > it works only on a VHost.
> > >
> > > What I need is, that a ${USER} can login and work on her/his ${HOME}.
> > >
> > > How can I archive this?
> > >
> > > Thank you
> > > Chantale
> > >
> > >
>



Installing LAMP is not a good idea for productive servers. Always stick with
the Packages of your distribution to get all upgrades.
Activating a module isn't hard at all, so... there's not really a need for
packages like "LAMP" on a unix-like OS.
The point in not using such Packages like LAMP on a system which isn't
productive is learning to set up a productive server. You decide.

mod_auth_pam might be a way fo accomplish what you want.

Just my two cent.

Re: Re: How to authnticate and use contents from ${HOME}

by Carl Furst :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

PHP may not be the thing to do this.. because it sounds like you want
the users to chroot to ${HOME}  which php especially on a vhost does not do.


If you want users to access an nfs or ftp I would use either samba or
vsftp or some other scp/ftp software.
Jan G.B. wrote:

> 2009/7/6 Isaac Dover <isaacdover@...>
>
>  
>> Hi Chantale, as Bastien mentioned, a preconfigured package might be the
>> best
>> way to go. Wikipedia has more information:
>>
>> http://en.wikipedia.org/wiki/List_of_LAMP_Packages
>>
>> What are you wanting to build in your interface?
>>
>>  - Isaac
>>
>> On Mon, Jul 6, 2009 at 9:14 AM, Bastien Koert <phpster@...> wrote:
>>
>>    
>>> Try xamp or one of the preconfigured packages
>>>
>>> bastien
>>>
>>> On Sunday, July 5, 2009,  <schneider.chantale@...> wrote:
>>>      
>>>> Hello,
>>>>
>>>> My name ich Chantale, I am 15years old and in a german Lycee. I like to
>>>>        
>>> study Informatic in two years and now try to code my first applications.
>>>      
>> I
>>    
>>> am new to php and like to code my own Intranet Web-Interface which should
>>> run on my FileServer at home.
>>>      
>>>> I have installed suPHP, but it seems to be not the thing I need,
>>>>        
>> because
>>    
>>> it works only on a VHost.
>>>      
>>>> What I need is, that a ${USER} can login and work on her/his ${HOME}.
>>>>
>>>> How can I archive this?
>>>>
>>>> Thank you
>>>> Chantale
>>>>
>>>>
>>>>        
>
>
>
> Installing LAMP is not a good idea for productive servers. Always stick with
> the Packages of your distribution to get all upgrades.
> Activating a module isn't hard at all, so... there's not really a need for
> packages like "LAMP" on a unix-like OS.
> The point in not using such Packages like LAMP on a system which isn't
> productive is learning to set up a productive server. You decide.
>
> mod_auth_pam might be a way fo accomplish what you want.
>
> Just my two cent.
>
>  

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


Parent Message unknown Re: Re: How to authnticate and use contents from ${HOME}

by schneider.chantale :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

What is xamp?

I have my own webinterface and need only to authenticate
the loginuser to let him/her work on the ${HOME}

Thanks
Chantale

----- original Nachricht --------

Betreff: Re: [PHP] How to authnticate and use contents from ${HOME}
Gesendet: Mo 06 Jul 2009 15:14:16 CEST
Von: "Bastien Koert"<phpster@...>

> Try xamp or one of the preconfigured packages
>
> bastien







#adBox3 {display:none;}



--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


Parent Message unknown Re: Re: How to authnticate and use contents from ${HOME}

by schneider.chantale :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hello Isaac,

> http://en.wikipedia.org/wiki/List_of_LAMP_Packages

I am not interested in LDAP and MySQL stuff.
This is overkill for my Intranet Server.

> What are you wanting to build in your interface?

And as I have written, I am learning PHP-Coding.
So ready-to-use-stuff where no one know how it works is no option.

I have installed "php5-auth-pam" and it works already, speak,
I get the correct ExitStatus if one try to authenticate.

But this works only (in conjunction with suPHP) if the script run as
"root" which should not be.

Greetings
Chantale







#adBox3 {display:none;}



--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


Re: Re: How to authnticate and use contents from ${HOME}

by Lenin-7 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

On Sat, Jul 11, 2009 at 9:41 PM, <schneider.chantale@...> wrote:

> What is xamp?


XAMPP is a preconfigured package for using apache, mysql, php/perl/python on
any platform like linux, mac OS or Windows. Look at www.apachefriends.de